mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/portal.git
synced 2026-08-23 06:24:21 +00:00
update: address,conpanyModule,user models .
This commit is contained in:
@@ -31,6 +31,14 @@ class CompanyModule extends AbstractModel
|
||||
return $this->morphMany(Contact::class, 'owner');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return MorphMany
|
||||
*/
|
||||
public function addresses(): morphMany
|
||||
{
|
||||
return $this->morphMany(Address::class, 'owner');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return belongsToMany
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user