Added motorTestingMasters hasMany relation on model file
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
This commit is contained in:
@@ -63,6 +63,11 @@ class Plant extends Model
|
|||||||
return $this->hasMany(QualityValidation::class, 'plant_id', 'id');
|
return $this->hasMany(QualityValidation::class, 'plant_id', 'id');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function motorTestingMasters()
|
||||||
|
{
|
||||||
|
return $this->hasMany(MotorTestingMaster::class, 'plant_id', 'id');
|
||||||
|
}
|
||||||
|
|
||||||
public function testingPanelReadings()
|
public function testingPanelReadings()
|
||||||
{
|
{
|
||||||
return $this->hasMany(TestingPanelReading::class, 'plant_id', 'id');
|
return $this->hasMany(TestingPanelReading::class, 'plant_id', 'id');
|
||||||
|
|||||||
Reference in New Issue
Block a user