From 1f3d697b57b843a2d10e70c440289ee1833efbdf Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Tue, 26 May 2026 09:49:09 +0530 Subject: [PATCH] Added asrs relation in plant model file --- app/Models/Plant.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/Models/Plant.php b/app/Models/Plant.php index e263c70..0eab322 100644 --- a/app/Models/Plant.php +++ b/app/Models/Plant.php @@ -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'); + } }