28 lines
686 B
PHP
28 lines
686 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
/**
|
|
* @property int $id Primary key of the user password.
|
|
* @property \App\Models\User $user_id Associated user.
|
|
* @property string $password Password of the user.
|
|
* @property-read \Illuminate\Support\Carbon $created_at Date on which the password was created.
|
|
* @property-read \Illuminate\Support\Carbon $updated_at Date on which the password was updated.
|
|
*/
|
|
class UserPassword extends Model
|
|
{
|
|
/**
|
|
* The attributes that are mass assignable.
|
|
*
|
|
* @var list<string>
|
|
*/
|
|
#[\Override]
|
|
protected $fillable = [
|
|
'user_id',
|
|
'password',
|
|
];
|
|
}
|