From 973a69c9449e3c84c7d99909fc96e30c8daa0017 Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Sun, 20 Sep 2026 15:12:57 +0530 Subject: [PATCH] Added product char master relation in plant model --- app/Models/Plant.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/Models/Plant.php b/app/Models/Plant.php index 3e35d63..fb4566e 100644 --- a/app/Models/Plant.php +++ b/app/Models/Plant.php @@ -122,4 +122,9 @@ class Plant extends Model { return $this->hasMany(Machine::class, 'plant_id', 'id'); } + + public function productCharacteristicsMasters() + { + return $this->hasMany(ProductCharacteristicsMaster::class, 'plant_id', 'id'); + } }