From 00a36829710aed0c756e19b29f19ea8e85ac8f21 Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Tue, 15 Sep 2026 09:52:11 +0530 Subject: [PATCH] Added sticker order realtion in plant model --- app/Models/Plant.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/Models/Plant.php b/app/Models/Plant.php index 96de552..f3fcedf 100644 --- a/app/Models/Plant.php +++ b/app/Models/Plant.php @@ -243,4 +243,10 @@ class Plant extends Model { return $this->hasMany(ProductionTemp::class, 'plant_id', 'id'); } + + public function stickerOrder() + { + return $this->hasMany(StickerOrder::class, 'plant_id', 'id'); + } + }