Files
merchbay_admin/app/User.php
2021-07-10 10:15:55 +00: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',
];
}