Beispiel #1
0
class XymXieChengModel(db.Model):
    __tablename__ = 't_xym_xiecheng'

    id = db.Column(db.Integer(), primary_key=True, autoincrement=True)
    userId = db.Column(db.String(225))
    userName = db.Column(db.String(225))
    comment = db.Column(db.Text)
    commentTime = db.Column(db.DATE)
Beispiel #2
0
class HsQunarModel(db.Model):
    __tablename__ = 't_hs_qunar'

    id = db.Column(db.Integer(), primary_key=True, autoincrement=True)
    userId = db.Column(db.String(225))
    userName = db.Column(db.String(225))
    comment = db.Column(db.Text)
    commentTime = db.Column(db.Date)
Beispiel #3
0
class HsMeituanModel(db.Model):
    __tablename__ = 't_hs_meituan'

    id = db.Column(db.Integer(), primary_key=True, autoincrement=True)
    userId = db.Column(db.String(225))
    userName = db.Column(db.String(225))
    comment = db.Column(db.Text)
    commentTime = db.Column(db.DATE)
Beispiel #4
0
class XYMModel(db.Model):
    __tablename__ = 't_xym'

    id = db.Column(db.BigInteger, primary_key=True, autoincrement=True)
    comment_id = db.Column(db.String(225))
    comment = db.Column(db.Text, nullable=False)
    is_neg = db.Column(db.CHAR(1))
    comment_date = db.Column(db.Date)
    media_type = db.Column(db.String(50))
    comment_url = db.Column(db.String(225))
    is_gone = db.Column(db.CHAR(1))
Beispiel #5
0
class CollectModel(db.Model):
    __tablename__ = 't_collection'

    id = db.Column(db.Integer, primary_key=True, autoincrement=True)
    userName = db.Column(db.String(50), nullable=False)
    passWord = db.Column(db.String(50), nullable=False)
    email = db.Column(db.String(50), nullable=True)
    telPhone = db.Column(db.String(50))
    sex = db.Column(db.String(50))

    def __repr__(self):
        pass