get(); } public function getUserType() { return User::where('user_type')->get(); } public function roles() { return $this->hasMany('App\Models\UserRole'); } public function esiscopes() { return $this->hasMany('App\Models\EsiScope'); } public function esitoken() { return $this->hasOne('App\Models\EsiToken'); } }