from sqlalchemy import Column, Integer, String, Sequence
from {{ module_name }}.database import db


class Example(db.Model):
    __tablename__ = 'data'

    id = Column(Integer, Sequence('example_id_seq'), primary_key=True)
    name = Column(String(100))

    def __repr__(self):
        return "<Example(name='%s')>" % (self.name)

