Added product char master relation in plant model #236

Merged
jothi merged 1 commits from ranjith-dev into master 2026-09-20 09:43:12 +00:00

View File

@@ -122,4 +122,9 @@ class Plant extends Model
{
return $this->hasMany(Machine::class, 'plant_id', 'id');
}
public function productCharacteristicsMasters()
{
return $this->hasMany(ProductCharacteristicsMaster::class, 'plant_id', 'id');
}
}