diff --git a/app/Models/ProductCharacteristicsMaster.php b/app/Models/ProductCharacteristicsMaster.php new file mode 100644 index 000000000..ecf6a3eb9 --- /dev/null +++ b/app/Models/ProductCharacteristicsMaster.php @@ -0,0 +1,60 @@ +belongsTo(Plant::class); + } + + public function line(): BelongsTo + { + return $this->belongsTo(Line::class); + } + + public function workGroupMaster(): BelongsTo + { + return $this->belongsTo(WorkGroupMaster::class); + } + + public function machine(): BelongsTo + { + return $this->belongsTo(Machine::class); + } + // public function machine() + // { + // return $this->belongsTo(\App\Models\Machine::class, 'machine_id'); + // } + + public function item(): BelongsTo + { + return $this->belongsTo(Item::class); + } +}