32 lines
661 B
PHP
32 lines
661 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Attributes\Table;
|
|
use Illuminate\Database\Eloquent\Attributes\WithoutTimestamps;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
/**
|
|
* @property string $email
|
|
* @property string $token
|
|
* @property \Illuminate\Support\Carbon|null $created_at
|
|
*
|
|
* @mixin \Eloquent
|
|
*/
|
|
#[Table(name: 'customer_password_resets')]
|
|
#[WithoutTimestamps]
|
|
class PasswordReset extends Model
|
|
{
|
|
#[\Override]
|
|
public $fillable = ['email', 'token', 'created_at'];
|
|
|
|
#[\Override]
|
|
protected function casts(): array
|
|
{
|
|
return [
|
|
'created_at' => 'date',
|
|
];
|
|
}
|
|
}
|