25 lines
642 B
PHP
25 lines
642 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
namespace App\Models;
|
||
|
|
|
||
|
|
use Illuminate\Database\Eloquent\Model;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @property \App\Models\User $user_id User associated.
|
||
|
|
* @property string $password User password.
|
||
|
|
* @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',
|
||
|
|
];
|
||
|
|
}
|