Added pump testing entry model file 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:
@@ -89,10 +89,10 @@ class Plant extends Model
|
|||||||
return $this->hasMany(PumpTestingMaster::class, 'plant_id', 'id');
|
return $this->hasMany(PumpTestingMaster::class, 'plant_id', 'id');
|
||||||
}
|
}
|
||||||
|
|
||||||
// public function pumpTestingEntries()
|
public function pumpTestingEntries()
|
||||||
// {
|
{
|
||||||
// return $this->hasMany(PumpTestingEntry::class, 'plant_id', 'id');
|
return $this->hasMany(PumpTestingEntry::class, 'plant_id', 'id');
|
||||||
// }
|
}
|
||||||
|
|
||||||
public function guardNames()
|
public function guardNames()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user