ldc-groupe/app/Models/ContactCount.php
2026-02-13 12:10:35 +01:00

28 lines
493 B
PHP

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