From 96a8311317644ec9ec35d5f2ea2a5d916607e420 Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Wed, 14 Jan 2026 11:46:54 +0530 Subject: [PATCH] Added weight validation table has many relationship --- app/Models/Item.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/Models/Item.php b/app/Models/Item.php index 0c2d12e..e906241 100644 --- a/app/Models/Item.php +++ b/app/Models/Item.php @@ -53,4 +53,9 @@ class Item extends Model { return $this->hasMany(ProductCharacteristicsMaster::class); } + + public function weightValidations() + { + return $this->hasMany(WeightValidation::class); + } }