Added product char master relation in work group master model file #241

Merged
jothi merged 1 commits from ranjith-dev into master 2026-09-20 09:55:36 +00:00
Showing only changes of commit 61c714331b - Show all commits

View File

@@ -30,6 +30,11 @@ class WorkGroupMaster extends Model
return $this->hasMany(Machine::class, 'work_group_master_id');
}
public function productCharacteristicsMasters()
{
return $this->hasMany(ProductCharacteristicsMaster::class);
}
// public function rejectReasons()
// {
// return $this->hasMany(RejectReason::class, 'work_group_master_id', 'id');