From 44c658dbbc807b399b9a1bb07b6351382be7a2d7 Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Sun, 20 Sep 2026 15:24:08 +0530 Subject: [PATCH] Added product char master relation in item model file --- app/Models/Item.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/Models/Item.php b/app/Models/Item.php index 821795d..97152b5 100644 --- a/app/Models/Item.php +++ b/app/Models/Item.php @@ -55,4 +55,9 @@ class Item extends Model { return $this->hasMany(ItemCharacteristic::class, 'item_id', 'id'); } + + public function productCharacteristicsMasters() + { + return $this->hasMany(ProductCharacteristicsMaster::class); + } }