From 64705ba2f0278374f92930959a2d98f299da2494 Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Fri, 25 Apr 2025 13:07:22 +0530 Subject: [PATCH] Added new lineStopRelation with id --- app/Models/ProductionLineStop.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/Models/ProductionLineStop.php b/app/Models/ProductionLineStop.php index 46d2395..fb88ff9 100644 --- a/app/Models/ProductionLineStop.php +++ b/app/Models/ProductionLineStop.php @@ -41,4 +41,12 @@ class ProductionLineStop extends Model { return $this->belongsTo(LineStop::class); } + + // //..this is my code below + // public function lineStopRelation() + // { + // return $this->belongsTo(LineStop::class, 'linestop_id'); + // } + + }