Added before test reading model files for hasMany relations
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 26s
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 26s
This commit is contained in:
@@ -164,9 +164,9 @@ class Plant extends Model
|
||||
// return $this->hasMany(ModelMaster::class, 'plant_id', 'id');
|
||||
// }
|
||||
|
||||
// public function rejectReasons()
|
||||
// public function windedSerialValidationErrors()
|
||||
// {
|
||||
// return $this->hasMany(RejectReason::class, 'plant_id', 'id');
|
||||
// return $this->hasMany(WindedSerialValidationError::class, 'plant_id', 'id');
|
||||
// }
|
||||
|
||||
public function requestCharacteristics()
|
||||
@@ -199,6 +199,11 @@ class Plant extends Model
|
||||
return $this->hasMany(LeakTestReading::class, 'plant_id', 'id');
|
||||
}
|
||||
|
||||
public function beforeTestReadings()
|
||||
{
|
||||
return $this->hasMany(BeforeTestReading::class, 'plant_id', 'id');
|
||||
}
|
||||
|
||||
public function asrsItemValidations()
|
||||
{
|
||||
return $this->hasMany(AsrsItemValidation::class, 'plant_id', 'id');
|
||||
@@ -218,6 +223,4 @@ class Plant extends Model
|
||||
{
|
||||
return $this->hasMany(PanelBoxValidation::class, 'plant_id', 'id');
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user