From fab3e56f31fb38ff4060d6e26d5fa6617edde635 Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Tue, 24 Feb 2026 13:15:52 +0530 Subject: [PATCH] Added wire master packing model file --- app/Models/WireMasterPacking.php | 44 ++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 app/Models/WireMasterPacking.php 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'); + } +}