26 lines
732 B
PHP
26 lines
732 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
/**
|
|
* @property integer $id Id 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',
|
|
];
|
|
}
|