ispt4.0_laravel/app/Models/FormAccessToken.php
2025-03-12 12:02:15 +00:00

36 lines
628 B
PHP
Executable File

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class FormAccessToken extends Model
{
/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'form_access_tokens';
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'token',
'email',
'expires_at',
];
/**
* The attributes that should be cast.
*
* @var array
*/
protected $casts = [
'expires_at' => 'datetime',
];
}