Add new version in repository

This commit is contained in:
Ludovic CANDELLIER
2021-07-25 23:19:27 +02:00
parent d174fe1c81
commit 0d421226fa
608 changed files with 12235 additions and 7513 deletions

View File

@@ -0,0 +1,23 @@
<?php
namespace App\Models\Core\Auth;
use Illuminate\Database\Eloquent\Model;
class PasswordSecurity extends Model
{
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'user_id', 'password_expiry_days', 'password_updated_at'
];
// set relation
public function user()
{
return $this->belongsTo('App\Models\Core\Auth\User');
}
}