Файл: app/Models/PasswordReset.php
Строк: 24
<?php
declare(strict_types=1);
namespace AppModels;
use CarbonCarbonImmutable;
use IlluminateDatabaseEloquentModel;
/**
* Class PasswordReset
*
* @property string $email
* @property string $token
* @property CarbonImmutable $created_at
*/
class PasswordReset extends Model
{
/**
* The primary key for the model.
*/
protected $primaryKey = 'email';
/**
* Indicates if the IDs are auto-incrementing.
*/
public $incrementing = false;
/**
* Indicates if the model should be timestamped.
*/
public $timestamps = false;
/**
* The attributes that aren't mass assignable.
*/
protected $guarded = [];
/**
* Get the attributes that should be cast.
*/
protected function casts(): array
{
return [
'created_at' => 'datetime',
];
}
}