diff --git a/app/Models/WireMasterPacking.php b/app/Models/WireMasterPacking.php new file mode 100644 index 0000000..ac9312d --- /dev/null +++ b/app/Models/WireMasterPacking.php @@ -0,0 +1,44 @@ +belongsTo(Plant::class); + } + public function item(): BelongsTo + { + return $this->belongsTo(Item::class, 'item_id'); + } + + public function customerPo(): BelongsTo + { + return $this->belongsTo(CustomerPoMaster::class, 'customer_po_master_id'); + } +}