model validation no banco qrcode