from django.db import models

# Create your models here.

class Produto (models.Model):

    nome = models.CharField(max_length=50)
    preco = models.DecimalField(max_digits=10, decimal_places=2)
    qtde = models.IntegerField()

    def __str__(self):
        return self.nome + "-"+str(self.preco)




