diff --git a/app/Models/StockDataMaster.php b/app/Models/StockDataMaster.php new file mode 100644 index 0000000..f20d367 --- /dev/null +++ b/app/Models/StockDataMaster.php @@ -0,0 +1,53 @@ +belongsTo(Plant::class); + } + + public function stickerMaster(): BelongsTo + { + return $this->belongsTo(StickerMaster::class); + } + + public function stickerMasterRelation() + { + return $this->belongsTo(StickerMaster::class, 'sticker_master_id'); + } + +}