ldc-crm/app/Models/BrandContactList.php
2026-05-28 11:04:27 +02:00

30 lines
577 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class BrandContactList extends Model
{
/**
* The attributes that are mass assignable.
*
* @var array<int, string>
*/
protected $fillable = [
'brand_id',
'mailjet_list_id',
];
// * RELATIONS
/**
* Brand belongs to relation.
*
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
*/
public function brand(): \Illuminate\Database\Eloquent\Relations\BelongsTo
{
return $this->belongsTo(Brand::class);
}
}