ldc-boutique-cnc-sable/app/Models/PasswordReset.php

33 lines
661 B
PHP
Raw Permalink Normal View History

2021-03-26 16:10:56 +01:00
<?php
2026-06-14 21:32:07 +02:00
declare(strict_types=1);
2021-03-26 16:10:56 +01:00
namespace App\Models;
2026-06-14 21:32:07 +02:00
use Illuminate\Database\Eloquent\Attributes\Table;
use Illuminate\Database\Eloquent\Attributes\WithoutTimestamps;
2021-03-26 16:10:56 +01:00
use Illuminate\Database\Eloquent\Model;
2026-06-14 21:32:07 +02:00
/**
* @property string $email
* @property string $token
* @property \Illuminate\Support\Carbon|null $created_at
*
2026-06-14 21:32:07 +02:00
* @mixin \Eloquent
*/
#[Table(name: 'customer_password_resets')]
#[WithoutTimestamps]
2021-03-26 16:10:56 +01:00
class PasswordReset extends Model
{
2026-06-14 21:32:07 +02:00
#[\Override]
public $fillable = ['email', 'token', 'created_at'];
2022-09-08 11:29:39 +02:00
2026-06-14 21:32:07 +02:00
#[\Override]
protected function casts(): array
{
return [
'created_at' => 'date',
];
}
2021-03-26 16:10:56 +01:00
}