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