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() {