from app import db


class Person(db.Model):
    id = db.Column(db.Integer, primary_key=True)
    name = db.Column(db.String(60))
    cpf = db.Column(db.String(14))

    def __init__(self, name, cpf):
        self.name = name
        self.cpf = cpf

    def __repr__(self):
        return '<Product %d>' % self.id
