<?php

namespace App\Models;

use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;

class User extends Authenticatable
{
    use Notifiable;

    protected $fillable = [
		'name',
		'username',
		'mobile',
		'password',
		'role',
		'is_active',
	];

    protected $hidden = [
        'password',
        'remember_token',
    ];
	
	public function getAuthIdentifierName()
    {
        return 'id'; 
    }
}