From ac7cde9a86a3b153cef0865f4828aafde62c93b7 Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Fri, 18 Sep 2026 10:24:10 +0530 Subject: [PATCH] Added test approval mapping model file --- app/Models/TestApprovalMapping.php | 46 ++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 app/Models/TestApprovalMapping.php diff --git a/app/Models/TestApprovalMapping.php b/app/Models/TestApprovalMapping.php new file mode 100644 index 0000000..c78ade7 --- /dev/null +++ b/app/Models/TestApprovalMapping.php @@ -0,0 +1,46 @@ +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); + } +}