1
0
forked from poc/pds

Added pump testing master model files for hasMany relations

This commit is contained in:
dhanabalan
2026-08-24 10:09:11 +05:30
parent f653c39c1e
commit e4dc7560b3
2 changed files with 9 additions and 4 deletions

View File

@@ -84,10 +84,10 @@ class Plant extends Model
return $this->hasMany(TestingPanelReading::class, 'plant_id', 'id');
}
// public function pumpTestingMasters()
// {
// return $this->hasMany(PumpTestingMaster::class, 'plant_id', 'id');
// }
public function pumpTestingMasters()
{
return $this->hasMany(PumpTestingMaster::class, 'plant_id', 'id');
}
// public function pumpTestingEntries()
// {