Added asrs relation in plant model file #647
@@ -168,4 +168,8 @@ class Plant extends Model
|
||||
{
|
||||
return $this->hasMany(VehicleEntry::class, 'plant_id', 'id');
|
||||
}
|
||||
public function asrsItemValidations()
|
||||
{
|
||||
return $this->hasMany(AsrsItemValidation::class, 'plant_id', 'id');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user