ranjith-dev #499
@@ -63,6 +63,11 @@ class Plant extends Model
|
||||
return $this->hasMany(QualityValidation::class, 'plant_id', 'id');
|
||||
}
|
||||
|
||||
public function motorTestingMasters()
|
||||
{
|
||||
return $this->hasMany(MotorTestingMaster::class, 'plant_id', 'id');
|
||||
}
|
||||
|
||||
public function testingPanelReadings()
|
||||
{
|
||||
return $this->hasMany(TestingPanelReading::class, 'plant_id', 'id');
|
||||
|
||||
Reference in New Issue
Block a user