from flask_sqlalchemy import SQLAlchemy
db = SQLAlchemy()
class Account(db.Model):
    __tablename__ = "account"

    id = db.Column(db.Integer, primary_key=True)
    name = db.Column(db.String(100))
    cls = db.Column(db.String(128))
    tel = db.Column(db.String(32))
    addr = db.Column(db.String(256))
    password = db.Column(db.String(512))
    isdel = db.Column(db.Boolean, nullable=False, default=0)
    age = db.Column(db.Integer, default=0)