Continue MMC
This commit is contained in:
@@ -23,5 +23,11 @@ class AUK extends Model
|
||||
{
|
||||
return $this->hasMany('App\Models\AUK','parent_id','id');
|
||||
}
|
||||
|
||||
public function mmcs()
|
||||
{
|
||||
return $this->belongsToMany(MMC::class,'auk_mmc','auk_id','mmc_id');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user