Game-Jaming/Backend/Models/Password.php

19 lines
284 B
PHP
Raw Normal View History

<?php
2021-04-19 07:15:15 +00:00
2021-03-03 11:56:14 +00:00
namespace Backend\Models;
2021-04-19 07:15:15 +00:00
use Illuminate\Database\Eloquent\Model as Eloquent;
2021-04-19 07:15:15 +00:00
class Password extends Eloquent
{
protected $fillable = [
2021-03-05 12:00:07 +00:00
'password', 'remember_token'
];
2021-03-03 11:48:49 +00:00
2021-04-19 07:15:15 +00:00
public function group()
{
2021-03-05 10:23:10 +00:00
return $this->belongsTo(Group::class);
2021-03-03 11:48:49 +00:00
}
}