Files
ecomail-pohovor/app/Models/Contact.php
2026-02-11 23:37:50 +01:00

43 lines
760 B
PHP

<?php
declare(strict_types=1);
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Contact extends Model
{
/** @use HasFactory<\Database\Factories\ContactFactory> */
use HasFactory;
public $incrementing = false;
protected $keyType = 'string';
/**
* The attributes that are mass assignable.
*
* @var list<string>
*/
protected $fillable = [
'id',
'first_name',
'last_name',
'email',
];
/**
* Get the attributes that should be cast.
*
* @return array<string, string>
*/
protected function casts(): array
{
return [
'id' => 'string',
];
}
}