ldc-legaulois/app/Models/Notifications.php
Jérémy Munsch 920a0167c7
Deps working
2024-07-11 15:46:43 +02:00

29 lines
513 B
PHP

<?php
namespace App\Models;
use App\Enums\NotificationType;
use Illuminate\Database\Eloquent\Model;
class Notifications extends Model
{
/**
* The attributes that should be cast.
*
* @var array<string,string>
*/
protected $casts = [
'type' => NotificationType::class
];
/**
* The attributes that are mass assignable.
*
* @var array<integer, string>
*/
protected $fillable = [
'type',
'content',
'customer_id'
];
}