Update Member Import
This commit is contained in:
@@ -42,4 +42,19 @@ class Corporate extends Model
|
||||
->where('active', true)
|
||||
->latestOfMany();
|
||||
}
|
||||
|
||||
public function corporatePlans()
|
||||
{
|
||||
return $this->hasMany(CorporatePlan::class, 'corporate_id');
|
||||
}
|
||||
|
||||
public function corporateBenefits()
|
||||
{
|
||||
return $this->hasMany(CorporateBenefit::class, 'corporate_id');
|
||||
}
|
||||
|
||||
public function corporateDivisions()
|
||||
{
|
||||
return $this->hasMany(CorporateDivision::class, 'corporate_id');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user