*/ protected $casts = [ 'type' => NotificationType::class ]; /** * The attributes that are mass assignable. * * @var array */ protected $fillable = [ 'type', 'content', 'customer_id' ]; }