Files
crew_admin/app/User.php
Frank John Begornia d225ff22d4 initial commit
2019-10-29 19:29:28 +08:00

29 lines
523 B
PHP

<?php
namespace App;
use Illuminate\Foundation\Auth\User as Authenticatable;
class User extends Authenticatable
{
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $table = 'user_logins';
protected $fillable = [
'name', 'username', 'email', 'password', 'role', 'store_id'
];
/**
* The attributes that should be hidden for arrays.
*
* @var array
*/
protected $hidden = [
'password', 'remember_token',
];
}