ldc-groupe/app/Models/ContactCount.php

29 lines
499 B
PHP
Raw Normal View History

<?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 array<int, string>
*/
protected $fillable = [
'type',
'submissions'
];
/**
* The attributes that should be cast.
*
* @var array<string, string>
*/
protected $casts = [
'type' => ContactFormType::class,
];
}