add config msc (belum kelar)
This commit is contained in:
@@ -14,7 +14,7 @@ class CorporateServiceSpeciality extends Model
|
||||
protected $fillable = [
|
||||
'corporate_service_id',
|
||||
'speciality_id',
|
||||
'status'
|
||||
'active'
|
||||
];
|
||||
|
||||
public function corporateService()
|
||||
@@ -31,4 +31,9 @@ class CorporateServiceSpeciality extends Model
|
||||
{
|
||||
return $this->belongsTo(Speciality::class, 'speciality_id');
|
||||
}
|
||||
|
||||
public function exclusions()
|
||||
{
|
||||
return $this->morphMany(Exclusion::class, 'exclusionable');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user