Added asrs relation in plant model file #647

Merged
jothi merged 1 commits from ranjith-dev into master 2026-05-26 04:19:26 +00:00

View File

@@ -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');
}
}