getKey(); } /** * Return a key value array, containing any custom claims to be added to the JWT. * * @return array */ public function getJWTCustomClaims() { return []; } public function emailVerification(): HasMany { return $this->hasMany(UserEmailVerification::class, 'email', 'email'); } /** * @return HasMany */ public function passwordReset(): HasMany { return $this->hasMany(PasswordReset::class, 'user_id', 'id'); } /** * @return belongsToMany */ public function companyModule(): belongsToMany { return $this->belongsToMany(companyModule::class, (new CompanyEmployee())->getTable(), 'user_id', 'company_module_id'); } }