Merge pull request 'ranjith-dev' (#899) from ranjith-dev into master
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
Reviewed-on: #899
This commit was merged in pull request #899.
This commit is contained in:
@@ -185,4 +185,9 @@ class Line extends Model
|
|||||||
// {
|
// {
|
||||||
// return $this->hasMany(RejectReason::class, 'line_id', 'id');
|
// return $this->hasMany(RejectReason::class, 'line_id', 'id');
|
||||||
// }
|
// }
|
||||||
|
|
||||||
|
public function panelBoxValidations()
|
||||||
|
{
|
||||||
|
return $this->hasMany(PanelBoxValidation::class);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -84,6 +84,16 @@ class Plant extends Model
|
|||||||
return $this->hasMany(TestingPanelReading::class, 'plant_id', 'id');
|
return $this->hasMany(TestingPanelReading::class, 'plant_id', 'id');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// public function pumpTestingMasters()
|
||||||
|
// {
|
||||||
|
// return $this->hasMany(PumpTestingMaster::class, 'plant_id', 'id');
|
||||||
|
// }
|
||||||
|
|
||||||
|
// public function pumpTestingEntries()
|
||||||
|
// {
|
||||||
|
// return $this->hasMany(PumpTestingEntry::class, 'plant_id', 'id');
|
||||||
|
// }
|
||||||
|
|
||||||
public function guardNames()
|
public function guardNames()
|
||||||
{
|
{
|
||||||
return $this->hasMany(GuardName::class, 'plant_id', 'id');
|
return $this->hasMany(GuardName::class, 'plant_id', 'id');
|
||||||
@@ -149,6 +159,11 @@ class Plant extends Model
|
|||||||
return $this->hasMany(ClassCharacteristic::class, 'plant_id', 'id');
|
return $this->hasMany(ClassCharacteristic::class, 'plant_id', 'id');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// public function ModelMasters()
|
||||||
|
// {
|
||||||
|
// return $this->hasMany(ModelMaster::class, 'plant_id', 'id');
|
||||||
|
// }
|
||||||
|
|
||||||
// public function rejectReasons()
|
// public function rejectReasons()
|
||||||
// {
|
// {
|
||||||
// return $this->hasMany(RejectReason::class, 'plant_id', 'id');
|
// return $this->hasMany(RejectReason::class, 'plant_id', 'id');
|
||||||
@@ -198,4 +213,11 @@ class Plant extends Model
|
|||||||
{
|
{
|
||||||
return $this->hasMany(CharacteristicApproverMaster::class, 'plant_id', 'id');
|
return $this->hasMany(CharacteristicApproverMaster::class, 'plant_id', 'id');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function panelBoxValidations()
|
||||||
|
{
|
||||||
|
return $this->hasMany(PanelBoxValidation::class, 'plant_id', 'id');
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user