Change Benefit Table Structure
This commit is contained in:
@@ -36,6 +36,11 @@ class Corporate extends Model
|
||||
return $this->morphMany(File::class, 'fileable');
|
||||
}
|
||||
|
||||
public function plans()
|
||||
{
|
||||
return $this->hasMany(Plan::class, 'corporate_id', 'id');
|
||||
}
|
||||
|
||||
public function policies()
|
||||
{
|
||||
return $this->hasMany(CorporatePolicy::class);
|
||||
|
||||
Reference in New Issue
Block a user