Compare commits
2 Commits
da3b769b33
...
cb66e3a644
| Author | SHA1 | Date | |
|---|---|---|---|
| cb66e3a644 | |||
|
|
531c627e72 |
@@ -168,6 +168,12 @@ class Plant extends Model
|
||||
{
|
||||
return $this->hasMany(VehicleEntry::class, 'plant_id', 'id');
|
||||
}
|
||||
|
||||
public function leakTestReadings()
|
||||
{
|
||||
return $this->hasMany(LeakTestReading::class, 'plant_id', 'id');
|
||||
}
|
||||
|
||||
public function asrsItemValidations()
|
||||
{
|
||||
return $this->hasMany(AsrsItemValidation::class, 'plant_id', 'id');
|
||||
|
||||
Reference in New Issue
Block a user