playparse.py 534 B

1234567891011121314151617
  1. #!/usr/bin/env python3
  2. # -*- coding: utf-8 -*-
  3. # File : playparse.py
  4. # Author: DaShenHan&道长-----先苦后甜,任凭晚风拂柳颜------
  5. # Date : 2022/9/6
  6. from base.database import db
  7. class PlayParse(db.Model):
  8. __tablename__ = 'play_parse'
  9. id = db.Column(db.Integer, primary_key=True, autoincrement=True)
  10. play_url = db.Column(db.String(255))
  11. real_url = db.Column(db.String(255))
  12. def __repr__(self):
  13. return "<PlayParse(play_url='%s', real_url='%s')>" % (
  14. self.play_url, self.real_url)