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
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 11s
This commit is contained in:
@@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user