From 9d69ce89aedac585f906348814de68d5b6408205 Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Sat, 27 Sep 2025 13:59:19 +0530 Subject: [PATCH] Add GrMaster model with fillable attributes and relationships to Plant and Item --- app/Models/GrMaster.php | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 app/Models/GrMaster.php diff --git a/app/Models/GrMaster.php b/app/Models/GrMaster.php new file mode 100644 index 000000000..eaad10856 --- /dev/null +++ b/app/Models/GrMaster.php @@ -0,0 +1,34 @@ +belongsTo(Plant::class); + } + + public function item(): BelongsTo + { + return $this->belongsTo(Item::class); + } + +}