From dbe423e6f3d5e8a14227fb9f8f40974fb5f490ce Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Thu, 10 Sep 2026 17:12:45 +0530 Subject: [PATCH] Added coil packing method in plant model file --- app/Models/Plant.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/app/Models/Plant.php b/app/Models/Plant.php index bc94564..e9ed341 100644 --- a/app/Models/Plant.php +++ b/app/Models/Plant.php @@ -189,6 +189,11 @@ class Plant extends Model return $this->hasMany(TempClassCharacteristic::class, 'plant_id', 'id'); } + // public function tempStopCharacteristics() + // { + // return $this->hasMany(TempStopCharacteristic::class, 'plant_id', 'id'); + // } + public function users() { return $this->hasMany(User::class, 'plant_id', 'id'); @@ -228,4 +233,9 @@ class Plant extends Model { return $this->hasMany(PanelBoxValidation::class, 'plant_id', 'id'); } + + public function coilPacking() + { + return $this->hasMany(CoilPacking::class, 'plant_id', 'id'); + } }