From 43c474bb59af82f992247a30ad11cc32ee8325bf Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Tue, 20 Oct 2026 09:54:05 +0530 Subject: [PATCH] Added feed address in plant model file --- app/Models/Plant.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/app/Models/Plant.php b/app/Models/Plant.php index 3a952c51..b094a71b 100644 --- a/app/Models/Plant.php +++ b/app/Models/Plant.php @@ -18,6 +18,7 @@ class Plant extends Model 'address', 'warehouse_number', 'reg_address', + 'feed_address', ]; public function company(): BelongsTo @@ -195,10 +196,10 @@ class Plant extends Model return $this->hasMany(TempStopCharacteristic::class, 'plant_id', 'id'); } - // public function laserAxisPositionMasters() - // { - // return $this->hasMany(LaserAxisPositionMaster::class, 'plant_id', 'id'); - // } + public function laserAxisPositionMasters() + { + return $this->hasMany(LaserAxisPositionMaster::class, 'plant_id', 'id'); + } public function users() {