Merge pull request 'Added product char master relation in work group master model file' (#241) from ranjith-dev into master
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 12s
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 12s
Reviewed-on: #241
This commit was merged in pull request #241.
This commit is contained in:
@@ -30,6 +30,11 @@ class WorkGroupMaster extends Model
|
|||||||
return $this->hasMany(Machine::class, 'work_group_master_id');
|
return $this->hasMany(Machine::class, 'work_group_master_id');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function productCharacteristicsMasters()
|
||||||
|
{
|
||||||
|
return $this->hasMany(ProductCharacteristicsMaster::class);
|
||||||
|
}
|
||||||
|
|
||||||
// public function rejectReasons()
|
// public function rejectReasons()
|
||||||
// {
|
// {
|
||||||
// return $this->hasMany(RejectReason::class, 'work_group_master_id', 'id');
|
// return $this->hasMany(RejectReason::class, 'work_group_master_id', 'id');
|
||||||
|
|||||||
Reference in New Issue
Block a user