mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim-api.git
synced 2026-08-25 07:24:03 +00:00
added relationship for company and user
This commit is contained in:
@@ -54,4 +54,9 @@ class User extends Authenticatable implements JWTSubject
|
||||
return $this->hasOne('App\UserVerification', 'user_id');
|
||||
}
|
||||
|
||||
public function company()
|
||||
{
|
||||
return $this->hasOne('App\Company');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user