Added pump testing result model files for hasMany relations
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 11s

This commit is contained in:
dhanabalan
2026-08-28 12:48:51 +05:30
parent 2fb143c1f2
commit 5279b016d1
2 changed files with 10 additions and 0 deletions

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');
}
}