*/ protected $table='admins'; public function getJWTIdentifier() { return $this->getKey(); } public function getJWTCustomClaims() { return []; } /** * The attributes that should be hidden for serialization. * * @var array */ protected $hidden = [ 'password', ]; /** * The attributes that should be cast. * * @var array */ }