2020-12-01 17:02:10 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace App\Models;
|
|
|
|
|
|
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
|
|
2020-12-02 10:08:27 +01:00
|
|
|
class SingleOptin extends Model
|
2020-12-01 17:02:10 +01:00
|
|
|
{
|
|
|
|
|
use HasFactory;
|
|
|
|
|
|
2020-12-02 10:08:27 +01:00
|
|
|
protected $table = "single_optin";
|
2020-12-01 17:02:10 +01:00
|
|
|
|
|
|
|
|
public function brand() {
|
|
|
|
|
return $this->belongsTo('App\Models\Brand', 'brand_id');
|
|
|
|
|
}
|
|
|
|
|
}
|