Added pump testing master 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:
@@ -49,6 +49,11 @@ class Item extends Model
|
|||||||
return $this->hasMany(TestingPanelReading::class);
|
return $this->hasMany(TestingPanelReading::class);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function pumpTestingMasters()
|
||||||
|
{
|
||||||
|
return $this->hasMany(PumpTestingMaster::class, 'item_id', 'id');
|
||||||
|
}
|
||||||
|
|
||||||
public function processOrders()
|
public function processOrders()
|
||||||
{
|
{
|
||||||
return $this->hasMany(ProcessOrder::class);
|
return $this->hasMany(ProcessOrder::class);
|
||||||
|
|||||||
@@ -84,10 +84,10 @@ class Plant extends Model
|
|||||||
return $this->hasMany(TestingPanelReading::class, 'plant_id', 'id');
|
return $this->hasMany(TestingPanelReading::class, 'plant_id', 'id');
|
||||||
}
|
}
|
||||||
|
|
||||||
// public function pumpTestingMasters()
|
public function pumpTestingMasters()
|
||||||
// {
|
{
|
||||||
// return $this->hasMany(PumpTestingMaster::class, 'plant_id', 'id');
|
return $this->hasMany(PumpTestingMaster::class, 'plant_id', 'id');
|
||||||
// }
|
}
|
||||||
|
|
||||||
// public function pumpTestingEntries()
|
// public function pumpTestingEntries()
|
||||||
// {
|
// {
|
||||||
|
|||||||
Reference in New Issue
Block a user