1
0
forked from poc/pds

Added motorTestingMasters hasMany relation on model file

This commit is contained in:
dhanabalan
2026-04-02 12:15:53 +05:30
parent 43694dc5de
commit aa09e90107

View File

@@ -63,6 +63,11 @@ class Plant extends Model
return $this->hasMany(QualityValidation::class, 'plant_id', 'id');
}
public function motorTestingMasters()
{
return $this->hasMany(MotorTestingMaster::class, 'plant_id', 'id');
}
public function testingPanelReadings()
{
return $this->hasMany(TestingPanelReading::class, 'plant_id', 'id');