ranjith-dev #960

Merged
jothi merged 7 commits from ranjith-dev into master 2026-08-28 08:49:40 +00:00
2 changed files with 10 additions and 0 deletions
Showing only changes of commit 5279b016d1 - Show all commits

View File

@@ -94,6 +94,11 @@ class Plant extends Model
return $this->hasMany(PumpTestingEntry::class, 'plant_id', 'id');
}
public function pumpTestingResults()
{
return $this->hasMany(PumpTestingResult::class, 'plant_id', 'id');
}
public function guardNames()
{
return $this->hasMany(GuardName::class, 'plant_id', 'id');

View File

@@ -59,4 +59,9 @@ class PumpTestingMaster extends Model
{
return $this->hasMany(PumpTestingEntry::class, 'pump_testing_master_id', 'id');
}
public function pumpTestingResults()
{
return $this->hasMany(PumpTestingResult::class, 'pump_testing_master_id', 'id');
}
}