diff --git a/app/Models/SerialValidation.php b/app/Models/SerialValidation.php new file mode 100644 index 000000000..258fadfa7 --- /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'); + } +}