Add new version in repository
This commit is contained in:
23
app/Models/Core/Auth/PasswordSecurity.php
Normal file
23
app/Models/Core/Auth/PasswordSecurity.php
Normal 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');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user