| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779 |
- from peewee import *
- from playhouse.postgres_ext import *
- database = PostgresqlDatabase('kaiyou', **{'host': '192.168.2.200', 'port': 10432, 'user': 'kaiyou', 'password': '123456'})
- class UnknownField(object):
- def __init__(self, *_, **__): pass
- class BaseModel(Model):
- class Meta:
- database = database
- class Account(BaseModel):
- account = CharField()
- fanshui = IntegerField(constraints=[SQL("DEFAULT 1")], null=True)
- id = BigIntegerField(constraints=[SQL("DEFAULT nextval('account_id_seq'::regclass)")], index=True)
- identity = TextField(index=True)
- remark = CharField(null=True)
- status = IntegerField(constraints=[SQL("DEFAULT 1")])
- user_type = IntegerField(constraints=[SQL("DEFAULT 1")])
- class Meta:
- table_name = 'account'
- indexes = (
- (('id', 'identity'), True),
- )
- primary_key = CompositeKey('id', 'identity')
- class AccountBank(BaseModel):
- account_identity = TextField()
- account_name = CharField()
- account_phone = CharField(null=True)
- band_time = DateTimeField(constraints=[SQL("DEFAULT now()")])
- bank_address = CharField()
- bank_code = CharField(constraints=[SQL("DEFAULT ''::character varying")], null=True)
- bank_name = CharField()
- bank_number = CharField()
- card_no = CharField(null=True)
- id = BigIntegerField(constraints=[SQL("DEFAULT nextval('account_bank_id_seq'::regclass)")])
- identity = TextField(primary_key=True)
- status = IntegerField(constraints=[SQL("DEFAULT 1")])
- class Meta:
- table_name = 'account_bank'
- indexes = (
- (('id', 'identity', 'account_identity'), False),
- )
- class AccountDetailed(BaseModel):
- account_identity = TextField()
- available_cash = DecimalField(constraints=[SQL("DEFAULT 0.00")])
- card = CharField(constraints=[SQL("DEFAULT '5'")])
- cash = DecimalField(constraints=[SQL("DEFAULT 0.00")])
- email = CharField(null=True)
- finance_cash = DecimalField(constraints=[SQL("DEFAULT NULL::numeric")], null=True)
- frozen_cash = DecimalField(constraints=[SQL("DEFAULT 0.00")])
- grade = IntegerField(constraints=[SQL("DEFAULT 0")])
- group_code = CharField(constraints=[SQL("DEFAULT '0,1,'::character varying")], null=True)
- group_name = CharField(constraints=[SQL("DEFAULT '|普通会员|'::character varying")], null=True)
- id = BigIntegerField(constraints=[SQL("DEFAULT nextval('account_detailed_id_seq'::regclass)")])
- identity = TextField()
- img_id = BigIntegerField(null=True)
- img_url = CharField(null=True)
- invitation = CharField(null=True)
- last_ip = CharField()
- last_time = DateTimeField(constraints=[SQL("DEFAULT now()")])
- last_url = CharField(null=True)
- level = IntegerField(constraints=[SQL("DEFAULT 2")], null=True)
- name = CharField(null=True)
- now_game = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- og_type = IntegerField(constraints=[SQL("DEFAULT 1")], null=True)
- open_invitation = CharField(null=True)
- parent_id = TextField(null=True)
- parent_path = TextField(null=True)
- phone = CharField(null=True)
- placing = BigIntegerField(constraints=[SQL("DEFAULT 0")])
- qq = CharField(null=True)
- ranking = BigIntegerField(null=True)
- register_ip = CharField()
- register_time = DateTimeField(constraints=[SQL("DEFAULT now()")])
- register_url = CharField(null=True)
- show = BigIntegerField(constraints=[SQL("DEFAULT 0")])
- spread = BigIntegerField(constraints=[SQL("DEFAULT 0")])
- statuss = BigIntegerField(constraints=[SQL("DEFAULT 1")])
- token = CharField(null=True)
- wechat = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- class Meta:
- table_name = 'account_detailed'
- primary_key = False
- class AccountGroup(BaseModel):
- create_at = DateTimeField(null=True)
- group_code = IntegerField()
- group_name = CharField()
- id = BigAutoField()
- identity = CharField()
- sort = IntegerField(null=True)
- class Meta:
- table_name = 'account_group'
- class AccountNews(BaseModel):
- account_identity = CharField()
- content = CharField()
- details = CharField(null=True)
- id = BigAutoField()
- identity = CharField(unique=True)
- read_status = IntegerField(constraints=[SQL("DEFAULT '-1'::integer")])
- remark = CharField(null=True)
- title = CharField()
- type = IntegerField(null=True)
- write_time = DateTimeField(constraints=[SQL("DEFAULT now()")], null=True)
- class Meta:
- table_name = 'account_news'
- class AccountNotice(BaseModel):
- account_identity = CharField()
- id = BigIntegerField(constraints=[SQL("DEFAULT nextval('account_notice_id_seq'::regclass)")])
- identity = CharField(primary_key=True)
- money = FloatField()
- msg_time = IntegerField()
- read_status = IntegerField(constraints=[SQL("DEFAULT 0")])
- xy28_identity = CharField(null=True)
- xy28_no = CharField()
- class Meta:
- table_name = 'account_notice'
- class AccountPassword(BaseModel):
- account_identity = TextField()
- account_password = CharField()
- encryption = CharField()
- id = BigIntegerField(constraints=[SQL("DEFAULT nextval('account_password_id_seq'::regclass)")])
- identity = CharField(primary_key=True)
- status = IntegerField(constraints=[SQL("DEFAULT 1")])
- class Meta:
- table_name = 'account_password'
- indexes = (
- (('id', 'identity', 'account_identity'), False),
- )
- class AccountToken(BaseModel):
- account_identity = TextField(null=True)
- effective_time = BigIntegerField(null=True)
- id = BigAutoField()
- last_time = DateTimeField(constraints=[SQL("DEFAULT NULL::timestamp without time zone")], null=True)
- class Meta:
- table_name = 'account_token'
- class Advert(BaseModel):
- add_time = DateTimeField(constraints=[SQL("DEFAULT NULL::timestamp without time zone")], null=True)
- id = BigAutoField()
- status = CharField(constraints=[SQL("DEFAULT '1'")], null=True)
- title = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- type = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- class Meta:
- table_name = 'advert'
- class AppUpdate(BaseModel):
- app_code = CharField(unique=True)
- app_dec = CharField(null=True)
- app_url = CharField()
- id = BigAutoField()
- identity = CharField()
- upload_time = BigIntegerField()
- class Meta:
- table_name = 'app_update'
- class Article(BaseModel):
- author = CharField()
- child_id = IntegerField(null=True)
- content = CharField(null=True)
- id = BigIntegerField(constraints=[SQL("DEFAULT nextval('article_id1_seq'::regclass)")])
- identity = CharField()
- img = TextField(null=True)
- ios_content = CharField(null=True)
- mobilecontent = TextField(null=True)
- mobileimg = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- parent_id = IntegerField(constraints=[SQL("DEFAULT '-1'::integer")], null=True)
- s_title = CharField(null=True)
- sort = BigIntegerField(null=True)
- status = IntegerField(constraints=[SQL("DEFAULT 1")])
- time = DateTimeField()
- title = CharField()
- type = IntegerField(constraints=[SQL("DEFAULT 0")])
- typebind = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- class Meta:
- table_name = 'article'
- indexes = (
- (('identity', 'id'), True),
- )
- primary_key = CompositeKey('id', 'identity')
- class BandBank(BaseModel):
- bank_code = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- bank_name = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")])
- id = BigAutoField()
- sort = IntegerField(null=True)
- status = IntegerField(constraints=[SQL("DEFAULT 1")], null=True)
- class Meta:
- table_name = 'band_bank'
- class Bank(BaseModel):
- bank_code = CharField()
- bank_name = CharField()
- id = BigAutoField()
- pay_api = CharField(null=True)
- status = IntegerField(constraints=[SQL("DEFAULT 1")])
- class Meta:
- table_name = 'bank'
- class Banner(BaseModel):
- add_time = DateTimeField(constraints=[SQL("DEFAULT NULL::timestamp without time zone")], null=True)
- advert_id = IntegerField(constraints=[SQL("DEFAULT 1")], null=True)
- banner_link = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- banner_name = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- banner_url = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- id = BigIntegerField(constraints=[SQL("DEFAULT nextval('banner_id_seq1'::regclass)")])
- identity = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")])
- sort = BigIntegerField(null=True)
- status = IntegerField(constraints=[SQL("DEFAULT 1")], null=True)
- type = IntegerField(constraints=[SQL("DEFAULT 1")], null=True)
- class Meta:
- table_name = 'banner'
- primary_key = False
- class Btrecord(BaseModel):
- account = CharField(null=True)
- content = TextField(null=True)
- ct_time = DateTimeField(null=True)
- id = BigIntegerField(constraints=[SQL("DEFAULT nextval('btrecord_id_seq'::regclass)")])
- identity = CharField(null=True)
- type = IntegerField(null=True)
- class Meta:
- table_name = 'btrecord'
- primary_key = False
- class City(BaseModel):
- city_index = IntegerField()
- id = BigAutoField()
- name = CharField()
- province_id = IntegerField()
- class Meta:
- table_name = 'city'
- class Column(BaseModel):
- column_name = CharField()
- id = BigIntegerField(constraints=[SQL("DEFAULT nextval('column_id_seq'::regclass)")])
- identity = CharField()
- level = IntegerField()
- pidentity = CharField(null=True)
- remarks = CharField(null=True)
- class Meta:
- table_name = 'column'
- indexes = (
- (('id', 'identity'), True),
- )
- primary_key = CompositeKey('id', 'identity')
- class Commission(BaseModel):
- id = BigAutoField()
- name = CharField(null=True)
- rate = CharField(null=True)
- class Meta:
- table_name = 'commission'
- class CountVisit(BaseModel):
- id = BigAutoField()
- identity = CharField()
- no = BigIntegerField()
- visit_time = DateField(null=True)
- class Meta:
- table_name = 'count_visit'
- class DcAllowip(BaseModel):
- id = BigAutoField()
- ip = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")])
- operator = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")])
- remark = CharField(null=True)
- time = DateTimeField(constraints=[SQL("DEFAULT NULL::timestamp without time zone")])
- type = IntegerField(constraints=[SQL("DEFAULT 2")], null=True)
- class Meta:
- table_name = 'dc_allowip'
- class DcNavs(BaseModel):
- created_at = DateTimeField(constraints=[SQL("DEFAULT NULL::timestamp without time zone")], null=True)
- href = CharField(constraints=[SQL("DEFAULT 'NULL::bpchar'")], null=True)
- icon = CharField(constraints=[SQL("DEFAULT ''::bpchar")], null=True)
- id = BigAutoField()
- name = CharField(constraints=[SQL("DEFAULT 'NULL::bpchar'")])
- parent_id = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- sort = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- target = IntegerField(constraints=[SQL("DEFAULT (0)::smallint")], null=True)
- type = IntegerField(constraints=[SQL("DEFAULT (0)::smallint")], null=True)
- updated_at = DateTimeField(constraints=[SQL("DEFAULT NULL::timestamp without time zone")], null=True)
- class Meta:
- table_name = 'dc_navs'
- class DcPrivCode(BaseModel):
- create_at = DateTimeField(constraints=[SQL("DEFAULT NULL::timestamp without time zone")], null=True)
- id = BigAutoField()
- priv_code = CharField(constraints=[SQL("DEFAULT 'NULL::bpchar'")], null=True)
- priv_name = CharField(constraints=[SQL("DEFAULT 'NULL::bpchar'")], null=True)
- remark = CharField(constraints=[SQL("DEFAULT 'NULL::bpchar'")], null=True)
- update_at = DateTimeField(constraints=[SQL("DEFAULT NULL::timestamp without time zone")], null=True)
- class Meta:
- table_name = 'dc_priv_code'
- class DcPrivRole(BaseModel):
- create_at = DateTimeField(constraints=[SQL("DEFAULT NULL::timestamp without time zone")], null=True)
- id = BigAutoField()
- priv_id = IntegerField(null=True)
- role_id = IntegerField(null=True)
- role_name = CharField(constraints=[SQL("DEFAULT 'NULL::bpchar'")], null=True)
- class Meta:
- table_name = 'dc_priv_role'
- class DcRole(BaseModel):
- admin_id = IntegerField()
- admin_name = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- create_at = DateTimeField(constraints=[SQL("DEFAULT NULL::timestamp without time zone")], null=True)
- id = BigAutoField()
- role_id = IntegerField()
- role_name = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- class Meta:
- table_name = 'dc_role'
- class DcUserGrade(BaseModel):
- grade = BigIntegerField(unique=True)
- id = BigAutoField()
- is_water = IntegerField(constraints=[SQL("DEFAULT 1")])
- name = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")])
- rule = CharField(constraints=[SQL("DEFAULT ''::character varying")], null=True)
- rule_details = CharField(constraints=[SQL("DEFAULT ''::character varying")], null=True)
- time = DateTimeField(constraints=[SQL("DEFAULT NULL::timestamp without time zone")])
- water_bate = CharField(constraints=[SQL("DEFAULT '0'")])
- class Meta:
- table_name = 'dc_user_grade'
- class Feedback(BaseModel):
- account_identity = CharField(null=True)
- account_name = CharField(null=True)
- account_qq = CharField(constraints=[SQL("DEFAULT ''::character varying")], null=True)
- account_tel = CharField(constraints=[SQL("DEFAULT ''::character varying")], null=True)
- account_weixin = CharField(constraints=[SQL("DEFAULT ''::character varying")], null=True)
- content = CharField(null=True)
- id = BigAutoField()
- reply = TextField(null=True)
- see_status = CharField(constraints=[SQL("DEFAULT '0'")], null=True)
- status = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- submit_time = DateTimeField(constraints=[SQL("DEFAULT now()")], null=True)
- type = CharField(null=True)
- class Meta:
- table_name = 'feedback'
- class Helpfile(BaseModel):
- content = TextField()
- id = BigIntegerField(constraints=[SQL("DEFAULT nextval('helpfile_id_seq'::regclass)")])
- partent_id = IntegerField(null=True)
- title = CharField()
- class Meta:
- table_name = 'helpfile'
- primary_key = False
- class Logfile(BaseModel):
- account = CharField(null=True)
- account_identity = TextField(null=True)
- add_time = DateTimeField(constraints=[SQL("DEFAULT now()")], null=True)
- area = CharField(null=True)
- browser = CharField(null=True)
- device = CharField(null=True)
- device_model = CharField(null=True)
- device_number = CharField(null=True)
- id = BigAutoField()
- ip = CharField(null=True)
- type = CharField(null=True)
- url = CharField(null=True)
- class Meta:
- table_name = 'logfile'
- class Message(BaseModel):
- add_status = CharField(constraints=[SQL("DEFAULT '1'")], null=True)
- add_time = DateTimeField(null=True)
- add_type = CharField(null=True)
- content = CharField(null=True)
- formname = CharField(null=True)
- group_code = CharField(null=True)
- group_name = CharField(constraints=[SQL("DEFAULT '|'::character varying")], null=True)
- id = BigAutoField()
- is_show = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- title = CharField(null=True)
- toname = CharField(null=True)
- type = IntegerField(null=True)
- class Meta:
- table_name = 'message'
- class MessageRead(BaseModel):
- account_identity = CharField(null=True)
- add_time = DateTimeField(null=True)
- id = BigAutoField()
- message_id = IntegerField(null=True)
- status = IntegerField(constraints=[SQL("DEFAULT 1")], null=True)
- class Meta:
- table_name = 'message_read'
- class Migrations(BaseModel):
- batch = IntegerField()
- id = BigAutoField()
- migration = CharField()
- class Meta:
- table_name = 'migrations'
- class MoneyBack(BaseModel):
- account_identity = CharField()
- account_name = CharField()
- buy_identity = CharField()
- game_id = CharField()
- game_name = CharField()
- id = BigIntegerField(constraints=[SQL("DEFAULT nextval('money_back_id_seq'::regclass)")])
- info_identity = CharField()
- money = DecimalField()
- order_id = CharField(unique=True)
- processing_time = DateTimeField(null=True)
- ratio = CharField()
- status = IntegerField(constraints=[SQL("DEFAULT 1")])
- sysetem_user = CharField(constraints=[SQL("DEFAULT '系统'::character varying")], null=True)
- class Meta:
- table_name = 'money_back'
- indexes = (
- (('id', 'info_identity', 'order_id'), True),
- )
- primary_key = CompositeKey('id', 'info_identity', 'order_id')
- class MoneyBuy(BaseModel):
- account_identity = TextField()
- account_name = CharField()
- codes = JSONField()
- game_name = CharField()
- game_no = CharField()
- game_status = IntegerField(constraints=[SQL("DEFAULT 0")])
- get_money = DecimalField(null=True)
- id = BigIntegerField(constraints=[SQL("DEFAULT nextval('money_buy_id_seq'::regclass)")])
- info_identity = CharField(constraints=[SQL("DEFAULT ''::character varying")])
- member_type = IntegerField(constraints=[SQL("DEFAULT 1")], null=True)
- money = DecimalField()
- money_time = DateTimeField(index=True, null=True)
- order_id = CharField()
- prize = JSONField(null=True)
- prize_money = DecimalField(constraints=[SQL("DEFAULT 0")], null=True)
- prize_note = CharField(constraints=[SQL("DEFAULT '0'")], null=True)
- remark = CharField(null=True)
- settle_status = IntegerField(constraints=[SQL("DEFAULT 1")], null=True)
- status = IntegerField(constraints=[SQL("DEFAULT 1")])
- water_status = IntegerField(constraints=[SQL("DEFAULT 1")], null=True)
- class Meta:
- table_name = 'money_buy'
- indexes = (
- (('id', 'info_identity', 'order_id'), True),
- )
- primary_key = CompositeKey('id', 'info_identity', 'order_id')
- class MoneyCount(BaseModel):
- account = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")])
- account_identity = CharField()
- bet = DecimalField(constraints=[SQL("DEFAULT 0")])
- cancel = DecimalField(constraints=[SQL("DEFAULT 0")])
- count_alltime = CharField()
- count_time = IntegerField()
- id = BigAutoField()
- identity = CharField()
- lottery = DecimalField(constraints=[SQL("DEFAULT 0")])
- prize = DecimalField(constraints=[SQL("DEFAULT 0")])
- save = DecimalField(constraints=[SQL("DEFAULT 0")])
- sort = IntegerField(null=True)
- take = DecimalField(constraints=[SQL("DEFAULT 0")])
- type = IntegerField(constraints=[SQL("DEFAULT 1")])
- ut_time = DateTimeField(constraints=[SQL("DEFAULT NULL::timestamp without time zone")])
- class Meta:
- table_name = 'money_count'
- class MoneyDetails(BaseModel):
- account_identity = TextField()
- account_name = CharField(index=True)
- id = BigIntegerField(constraints=[SQL("DEFAULT nextval('money_details_id_seq'::regclass)")])
- info_identity = CharField()
- money = DecimalField()
- money_cash = DecimalField(constraints=[SQL("DEFAULT 0")])
- money_time = DateTimeField()
- money_type = IntegerField()
- out_order_id = CharField(null=True)
- reason = CharField(null=True)
- remark = CharField(null=True)
- status = IntegerField(constraints=[SQL("DEFAULT 1")])
- sysetem_user = CharField(constraints=[SQL("DEFAULT '系统'::character varying")], null=True)
- trade_desc = CharField(null=True)
- trade_id = CharField()
- trade_type = IntegerField()
- class Meta:
- table_name = 'money_details'
- indexes = (
- (('info_identity', 'trade_id'), True),
- )
- primary_key = CompositeKey('info_identity', 'trade_id')
- class MoneyNagent(BaseModel):
- agent_identity = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")])
- agent_name = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")])
- apply_time = DateTimeField(constraints=[SQL("DEFAULT NULL::timestamp without time zone")])
- complete_time = DateTimeField(constraints=[SQL("DEFAULT NULL::timestamp without time zone")], null=True)
- money = DecimalField(constraints=[SQL("DEFAULT NULL::numeric")])
- order_id = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")])
- status = IntegerField()
- class Meta:
- table_name = 'money_nagent'
- class MoneyPrize(BaseModel):
- account_identity = CharField()
- account_name = CharField()
- buy_identity = CharField(unique=True)
- game_name = CharField()
- get_money = CharField(null=True)
- id = BigIntegerField(constraints=[SQL("DEFAULT nextval('money_prize_id_seq'::regclass)")])
- info_identity = CharField()
- money = DecimalField()
- money_time = DateTimeField()
- order_id = CharField(unique=True)
- prize_money = DecimalField(constraints=[SQL("DEFAULT 0")], null=True)
- status = IntegerField(constraints=[SQL("DEFAULT 1")])
- class Meta:
- table_name = 'money_prize'
- indexes = (
- (('id', 'info_identity', 'order_id'), True),
- )
- primary_key = CompositeKey('id', 'info_identity', 'order_id')
- class MoneyRecharge(BaseModel):
- account_identity = TextField()
- account_name = CharField()
- apply_time = DateTimeField()
- complete_time = DateTimeField(null=True)
- id = BigIntegerField(constraints=[SQL("DEFAULT nextval('money_recharge_id_seq'::regclass)")])
- info_identity = CharField()
- money = DecimalField()
- money_cash = DecimalField(constraints=[SQL("DEFAULT 0")], null=True)
- order_id = CharField(unique=True)
- rate = IntegerField(constraints=[SQL("DEFAULT 1")], null=True)
- reason = CharField(null=True)
- recharge_type = CharField(null=True)
- remark = CharField(null=True)
- status = IntegerField()
- sysetem_user = CharField(null=True)
- class Meta:
- table_name = 'money_recharge'
- indexes = (
- (('id', 'info_identity', 'order_id'), True),
- )
- primary_key = CompositeKey('id', 'info_identity', 'order_id')
- class MoneyRechargeRemark(BaseModel):
- id = BigIntegerField(constraints=[SQL("DEFAULT nextval('money_bank_id_seq'::regclass)")])
- money = DecimalField()
- name = CharField()
- order_id = CharField(unique=True)
- recharge_time = DateTimeField()
- remark = CharField(null=True)
- submit_time = IntegerField(null=True)
- type = CharField(null=True)
- class Meta:
- table_name = 'money_recharge_remark'
- indexes = (
- (('id', 'order_id'), True),
- )
- primary_key = CompositeKey('id', 'order_id')
- class MoneyRed(BaseModel):
- create_time = DateTimeField()
- fail_user = BigIntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- id = BigAutoField()
- input_order = CharField()
- input_reason = CharField(null=True)
- input_rule = CharField(null=True)
- red_type = IntegerField(constraints=[SQL("DEFAULT 1")])
- success_money = DecimalField(constraints=[SQL("DEFAULT 0")], null=True)
- suescc_user = BigIntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- sum_money = DecimalField(null=True)
- sum_user = IntegerField(null=True)
- system_user = CharField()
- class Meta:
- table_name = 'money_red'
- class MoneyReturn(BaseModel):
- account_identity = CharField()
- account_name = CharField()
- id = BigIntegerField(constraints=[SQL("DEFAULT nextval('money_return_id_seq'::regclass)")])
- info_identity = CharField()
- money = DecimalField()
- order_id = CharField(unique=True)
- processing_time = DateTimeField(null=True)
- ratio = DecimalField()
- reason = CharField(null=True)
- status = IntegerField(constraints=[SQL("DEFAULT 1")])
- sysetem_user = CharField(null=True)
- total_money = DecimalField()
- class Meta:
- table_name = 'money_return'
- indexes = (
- (('id', 'info_identity', 'order_id'), True),
- )
- primary_key = CompositeKey('id', 'info_identity', 'order_id')
- class MoneyReward(BaseModel):
- account_identity = CharField()
- account_name = CharField()
- agent_id = CharField()
- agent_name = CharField()
- buy_identity = CharField()
- game_id = CharField()
- game_name = CharField()
- id = BigIntegerField(constraints=[SQL("DEFAULT nextval('money_reward_id_seq'::regclass)")])
- info_identity = CharField()
- money = DecimalField()
- money_time = DateTimeField()
- order_id = CharField(unique=True)
- ratio = CharField()
- status = IntegerField()
- class Meta:
- table_name = 'money_reward'
- indexes = (
- (('id', 'info_identity', 'order_id'), True),
- )
- primary_key = CompositeKey('id', 'info_identity', 'order_id')
- class MoneyTake(BaseModel):
- account_identity = TextField()
- account_name = CharField()
- apply_date = DateField()
- apply_time = DateTimeField()
- bank_address = CharField(null=True)
- bank_info = CharField(null=True)
- bank_no = CharField()
- bank_user = CharField(null=True)
- give_time = DateTimeField(null=True)
- id = BigIntegerField(constraints=[SQL("DEFAULT nextval('money_take_id_seq'::regclass)")])
- info_identity = CharField()
- money = DecimalField()
- money_cash = DecimalField(constraints=[SQL("DEFAULT 0")], null=True)
- order_id = CharField(unique=True)
- pass_time = DateTimeField(null=True)
- reason = CharField(null=True)
- status = IntegerField(constraints=[SQL("DEFAULT 0")])
- sysetem_user = CharField(constraints=[SQL("DEFAULT '系统'::character varying")], null=True)
- class Meta:
- table_name = 'money_take'
- indexes = (
- (('id', 'info_identity', 'order_id'), True),
- )
- primary_key = CompositeKey('id', 'info_identity', 'order_id')
- class Nagent(BaseModel):
- account_identity = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- add_time = DateTimeField(constraints=[SQL("DEFAULT now()")], null=True)
- agent_name = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- game_type_id = IntegerField(null=True)
- grade = IntegerField(constraints=[SQL("DEFAULT 0")])
- phone = BigIntegerField(null=True)
- status = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- class Meta:
- table_name = 'nagent'
- class NagentChild(BaseModel):
- account_identity = TextField()
- account_name = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")])
- agent_identity = TextField()
- agent_name = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")])
- class Meta:
- table_name = 'nagent_child'
- class NagentDetailed(BaseModel):
- add_time = DateTimeField(constraints=[SQL("DEFAULT NULL::timestamp without time zone")], null=True)
- agent_identity = TextField()
- agent_token = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- agent_user = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")])
- bank_number = CharField(constraints=[SQL("DEFAULT '0'")])
- child_bet = DecimalField(constraints=[SQL("DEFAULT 0")])
- child_profit = DecimalField(constraints=[SQL("DEFAULT 0")])
- email = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- encryption = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- grade = IntegerField(constraints=[SQL("DEFAULT 0")])
- group_water = DecimalField(constraints=[SQL("DEFAULT 0")], null=True)
- invite = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- money_total = FloatField(constraints=[SQL("DEFAULT 0")], null=True)
- ns_groupwater = DecimalField(constraints=[SQL("DEFAULT 0")], null=True)
- ns_money = DecimalField(constraints=[SQL("DEFAULT 0")], null=True)
- ns_ztwater = DecimalField(constraints=[SQL("DEFAULT 0")], null=True)
- parent_id = CharField(null=True)
- parent_path = CharField(null=True)
- password = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- phone = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- ratio = CharField(constraints=[SQL("DEFAULT '0'")])
- register_time = DateTimeField(null=True)
- settle_money = DecimalField(constraints=[SQL("DEFAULT 0")], null=True)
- state = IntegerField(constraints=[SQL("DEFAULT 1")])
- sum_child = BigIntegerField(constraints=[SQL("DEFAULT 0")])
- type = IntegerField(constraints=[SQL("DEFAULT 2")])
- zt_water = DecimalField(constraints=[SQL("DEFAULT 0")], null=True)
- class Meta:
- table_name = 'nagent_detailed'
- class NagentGrade(BaseModel):
- first_amount = BigIntegerField()
- grade_code = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")])
- grade_name = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")])
- last_amount = BigIntegerField()
- profit_ratio = BigIntegerField(constraints=[SQL("DEFAULT 0")])
- sort = BigIntegerField(constraints=[SQL("DEFAULT 1")])
- water_ratio = BigIntegerField(constraints=[SQL("DEFAULT 0")])
- class Meta:
- table_name = 'nagent_grade'
- class NagentMoney(BaseModel):
- agent_identity = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")])
- agent_name = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")])
- end_time = DateTimeField(constraints=[SQL("DEFAULT NULL::timestamp without time zone")])
- money = DecimalField()
- money_time = DateTimeField(constraints=[SQL("DEFAULT NULL::timestamp without time zone")])
- order_id = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")])
- ratio = FloatField(null=True)
- start_time = DateTimeField(constraints=[SQL("DEFAULT NULL::timestamp without time zone")])
- status = IntegerField(constraints=[SQL("DEFAULT 1")], null=True)
- total_money = DecimalField(constraints=[SQL("DEFAULT NULL::numeric")], null=True)
- type = IntegerField(constraints=[SQL("DEFAULT 1")], null=True)
- class Meta:
- table_name = 'nagent_money'
- class Odds(BaseModel):
- code_type = CharField(null=True)
- id = BigAutoField()
- lx = CharField(null=True)
- name = CharField()
- number = IntegerField(constraints=[SQL("DEFAULT 1")])
- odds = CharField()
- winningprobability = CharField(constraints=[SQL("DEFAULT '1'")])
- class Meta:
- table_name = 'odds'
- class Orderurl(BaseModel):
- account = CharField()
- account_identity = CharField()
- add_time = DateTimeField(constraints=[SQL("DEFAULT now()")])
- bak = TextField(null=True)
- id = BigIntegerField(constraints=[SQL("DEFAULT nextval('logfile_id_seq'::regclass)")])
- ip = CharField(null=True)
- name = CharField(null=True)
- orderid = CharField(null=True)
- type = CharField(null=True)
- url = CharField(null=True)
- class Meta:
- table_name = 'orderurl'
- primary_key = False
- class PayPassword(BaseModel):
- account_identity = TextField()
- encryption = CharField()
- id = BigIntegerField(constraints=[SQL("DEFAULT nextval('pay_password_id_seq'::regclass)")])
- identity = CharField(primary_key=True)
- no_money = FloatField(constraints=[SQL("DEFAULT 0")])
- pay_password = CharField()
- status = IntegerField(constraints=[SQL("DEFAULT 1")])
- class Meta:
- table_name = 'pay_password'
- class Payment(BaseModel):
- cert_priv_path = CharField(null=True)
- cert_pub_path = CharField(null=True)
- id = BigAutoField()
- identity = CharField()
- min_money = FloatField(constraints=[SQL("DEFAULT 1")], null=True)
- pay_desc = TextField(null=True)
- pay_type = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- payment_name = CharField(null=True)
- quota = FloatField(constraints=[SQL("DEFAULT 99999999")], null=True)
- ret_odd = FloatField(null=True)
- seller_info = CharField()
- show_name = CharField(null=True)
- status = IntegerField(constraints=[SQL("DEFAULT 1")])
- class Meta:
- table_name = 'payment'
- class PrizeApiLog(BaseModel):
- cur_time = DateTimeField(null=True)
- force_prize = IntegerField(constraints=[SQL("DEFAULT 1")])
- game_name = CharField()
- id = BigAutoField()
- identity = CharField()
- no = CharField()
- open_time = DateTimeField()
- origin_ip = CharField(null=True)
- prize_code = CharField()
- request_headinfo = JSONField(null=True)
- request_token = CharField(null=True)
- vali_time = BigIntegerField(null=True)
- class Meta:
- table_name = 'prize_api_log'
- class PrizeLimit(BaseModel):
- game_name = CharField()
- id = BigAutoField()
- max_money = DecimalField()
- min_money = DecimalField()
- class Meta:
- table_name = 'prize_limit'
- class Province(BaseModel):
- id = BigAutoField()
- name = CharField()
- class Meta:
- table_name = 'province'
- class Setinfo(BaseModel):
- extinfo = CharField(null=True)
- id = BigAutoField()
- identity = CharField()
- infocontent = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- infoname = CharField()
- infotype = BigIntegerField()
- mobile_url = CharField(null=True)
- pc_url = CharField(null=True)
- remarks = CharField(null=True)
- status = IntegerField(constraints=[SQL("DEFAULT 0")])
- class Meta:
- table_name = 'setinfo'
- class Settings(BaseModel):
- enable_code = IntegerField(constraints=[SQL("DEFAULT 1")], null=True)
- enable_intro = IntegerField(constraints=[SQL("DEFAULT 1")], null=True)
- enable_invita = IntegerField(constraints=[SQL("DEFAULT 1")], null=True)
- enable_mail = IntegerField(constraints=[SQL("DEFAULT 1")], null=True)
- enable_phone = IntegerField(constraints=[SQL("DEFAULT 1")], null=True)
- enable_qq = IntegerField(constraints=[SQL("DEFAULT 1")], null=True)
- enable_sms = IntegerField(constraints=[SQL("DEFAULT 1")], null=True)
- enable_wechat = IntegerField(constraints=[SQL("DEFAULT 1")], null=True)
- id = BigAutoField()
- rel_name = IntegerField(null=True)
- success_tip = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- class Meta:
- table_name = 'settings'
- class SettlementRatio(BaseModel):
- grade = IntegerField(null=True)
- id = BigAutoField()
- ratio = FloatField(null=True)
- class Meta:
- table_name = 'settlement_ratio'
- class StArea(BaseModel):
- create_time = DateTimeField(null=True)
- id = IntegerField(constraints=[SQL("DEFAULT nextval('"''st_area_id_seq"'::regclass)")])
- parentid = BigIntegerField(constraints=[SQL("DEFAULT '0'::bigint")], null=True)
- source = CharField(constraints=[SQL("DEFAULT ''::character varying")], null=True)
- title = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- class Meta:
- table_name = 'st_area'
- primary_key = False
- class StBetOrder(BaseModel):
- account_identity = TextField()
- account_name = CharField()
- bet_amount = FloatField()
- bet_odds = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")])
- ctime = DateTimeField()
- game_code = CharField()
- game_status = IntegerField()
- lg_id = IntegerField()
- match_id = IntegerField()
- member_type = IntegerField(constraints=[SQL("DEFAULT 1")], null=True)
- odds_id = IntegerField()
- order_number = CharField(constraints=[SQL("DEFAULT ''::character varying")])
- remark = CharField(null=True)
- settle_status = IntegerField(constraints=[SQL("DEFAULT 1")], null=True)
- status = IntegerField(constraints=[SQL("DEFAULT 1")])
- utime = DateTimeField(null=True)
- win_amount = FloatField(constraints=[SQL("DEFAULT 0")])
- class Meta:
- table_name = 'st_bet_order'
- class StBqCompetition(BaseModel):
- ctime = DateTimeField(null=True)
- expire_time = DateTimeField(null=True)
- guest_team = CharField()
- home_team = CharField()
- is_morningplate = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- is_rollball = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- is_stringscene = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- is_today = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- lg_id = IntegerField(null=True)
- match_date = DateField(null=True)
- match_id = BigIntegerField(constraints=[SQL("DEFAULT 0")], unique=True)
- match_time = TimeField(null=True)
- recommend = CharField(constraints=[SQL("DEFAULT '0'")], null=True)
- sg_id = IntegerField(null=True)
- source = CharField(constraints=[SQL("DEFAULT ''::character varying")], null=True)
- status = CharField(constraints=[SQL("DEFAULT '0'")], null=True)
- tag = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- type = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- utime = DateTimeField(null=True)
- class Meta:
- table_name = 'st_bq_competition'
- class StBqLeague(BaseModel):
- area_id = IntegerField(constraints=[SQL("DEFAULT 0")])
- begin_season = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- bf_ifdisplay = IntegerField(column_name='bf_Ifdisplay', null=True)
- count_round = BigIntegerField(constraints=[SQL("DEFAULT '1'::bigint")])
- country_id = IntegerField(constraints=[SQL("DEFAULT 0")])
- curr_round = BigIntegerField(null=True)
- id = BigIntegerField(constraints=[SQL("DEFAULT nextval('st_bq_league_id_seq'::regclass)")])
- if_have_sub = IntegerField(null=True)
- if_stop = IntegerField(null=True)
- kind = IntegerField(constraints=[SQL("DEFAULT '1'::bigint")])
- last_time = DateTimeField(null=True)
- league_list = BigIntegerField(null=True)
- league_pic = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- lg_id = BigAutoField()
- match_mode = IntegerField(constraints=[SQL("DEFAULT '1'::bigint")])
- match_season = CharField(constraints=[SQL("DEFAULT 'NULL::bpchar'")], null=True)
- name_chinese = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- name_english = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- source = CharField(null=True)
- class Meta:
- table_name = 'st_bq_league'
- class StBqOdds(BaseModel):
- condition = CharField(constraints=[SQL("DEFAULT ''::character varying")])
- ctime = DateTimeField()
- expire_time = DateTimeField(null=True)
- id = BigIntegerField(constraints=[SQL("DEFAULT nextval('st_bq_odds_id_seq'::regclass)")])
- lg_id = IntegerField(constraints=[SQL("DEFAULT 0")])
- match_id = BigIntegerField(constraints=[SQL("DEFAULT 0")])
- max = FloatField(constraints=[SQL("DEFAULT 99")])
- min = FloatField(constraints=[SQL("DEFAULT 0")])
- odds = FloatField()
- odds_code = CharField(constraints=[SQL("DEFAULT ''::character varying")])
- odds_only = CharField(null=True)
- p_code = CharField(constraints=[SQL("DEFAULT ''::character varying")])
- p_id = BigIntegerField(constraints=[SQL("DEFAULT '-1'::integer")])
- sole = CharField(constraints=[SQL("DEFAULT ''::character varying")], unique=True)
- sort = IntegerField(constraints=[SQL("DEFAULT 0")])
- source = CharField(constraints=[SQL("DEFAULT ''::character varying")])
- status = IntegerField(constraints=[SQL("DEFAULT 0")])
- team = CharField(constraints=[SQL("DEFAULT ''::character varying")])
- type = IntegerField(constraints=[SQL("DEFAULT 0")])
- utime = DateTimeField()
- class Meta:
- table_name = 'st_bq_odds'
- primary_key = False
- class StBqOddsRecord(BaseModel):
- condition = CharField(constraints=[SQL("DEFAULT ''::character varying")])
- ctime = DateTimeField(null=True)
- id = BigIntegerField(constraints=[SQL("DEFAULT nextval('st_bq_odds_record_id_seq'::regclass)")])
- lg_id = IntegerField(constraints=[SQL("DEFAULT 0")])
- match_id = BigIntegerField(constraints=[SQL("DEFAULT 0")])
- max = FloatField(constraints=[SQL("DEFAULT 99")])
- min = FloatField(constraints=[SQL("DEFAULT 0")])
- odds = FloatField()
- odds_code = CharField(constraints=[SQL("DEFAULT ''::character varying")])
- odds_only = CharField(null=True)
- p_code = CharField(constraints=[SQL("DEFAULT ''::character varying")])
- p_id = BigIntegerField(constraints=[SQL("DEFAULT '-1'::integer")])
- sort = IntegerField(constraints=[SQL("DEFAULT 0")])
- source = CharField(constraints=[SQL("DEFAULT ''::character varying")])
- status = IntegerField(constraints=[SQL("DEFAULT 0")])
- team = CharField(constraints=[SQL("DEFAULT ''::character varying")])
- type = IntegerField(constraints=[SQL("DEFAULT 0")])
- utime = DateTimeField(null=True)
- class Meta:
- table_name = 'st_bq_odds_record'
- primary_key = False
- class StBqResult(BaseModel):
- all_goal = IntegerField(constraints=[SQL("DEFAULT 0")])
- first_score = CharField(constraints=[SQL("DEFAULT ''::character varying")], null=True)
- guest_rate = FloatField(constraints=[SQL("DEFAULT 0")])
- guest_score = IntegerField(constraints=[SQL("DEFAULT 0")])
- guest_team = CharField()
- home_rate = FloatField(constraints=[SQL("DEFAULT 0")])
- home_score = IntegerField(constraints=[SQL("DEFAULT 0")])
- home_team = CharField()
- last_score = CharField(constraints=[SQL("DEFAULT ''::character varying")], null=True)
- lg_id = IntegerField()
- match_id = BigIntegerField()
- match_process = CharField()
- match_score = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- match_time = CharField()
- match_winer = CharField(constraints=[SQL("DEFAULT ''::character varying")], null=True)
- source = CharField(null=True)
- status = IntegerField(constraints=[SQL("DEFAULT 0")])
- tag = IntegerField(constraints=[SQL("DEFAULT 0")])
- u_guest_score = IntegerField(constraints=[SQL("DEFAULT 0")])
- u_home_score = IntegerField(constraints=[SQL("DEFAULT 0")])
- update_time = DateTimeField()
- class Meta:
- table_name = 'st_bq_result'
- class StBqResultRecord(BaseModel):
- all_inning = BigIntegerField(constraints=[SQL("DEFAULT 9")], null=True)
- first_score = CharField(null=True)
- guest_rate = FloatField(constraints=[SQL("DEFAULT 0")], null=True)
- guest_score = BigIntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- guest_team = CharField()
- home_rate = FloatField(constraints=[SQL("DEFAULT 0")], null=True)
- home_score = BigIntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- home_team = CharField()
- last_score = CharField(null=True)
- lg_id = BigIntegerField()
- match_id = BigIntegerField()
- match_process = CharField()
- match_score = CharField(null=True)
- match_time = CharField()
- match_winer = CharField(null=True)
- source = CharField(null=True)
- status = IntegerField()
- tag = IntegerField(null=True)
- update_time = DateTimeField()
- class Meta:
- table_name = 'st_bq_result_record'
- class StCountry(BaseModel):
- country_area = BigIntegerField(null=True)
- country_ico = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- country_id = BigIntegerField(constraints=[SQL("DEFAULT 0")], unique=True)
- country_order = IntegerField(null=True)
- id = BigAutoField()
- name_chinese = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- name_english = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- recommend_order = IntegerField(null=True)
- source = CharField(null=True)
- update_time = DateTimeField(null=True)
- class Meta:
- table_name = 'st_country'
- class StGameType(BaseModel):
- ctime = IntegerField(constraints=[SQL("DEFAULT 0")])
- game_code = CharField(constraints=[SQL("DEFAULT ''::character varying")])
- game_ico_url = CharField(constraints=[SQL("DEFAULT ''::character varying")])
- game_name = CharField(constraints=[SQL("DEFAULT ''::character varying")])
- status = IntegerField(constraints=[SQL("DEFAULT 0")])
- utime = IntegerField(constraints=[SQL("DEFAULT 0")])
- class Meta:
- table_name = 'st_game_type'
- class StLqCompetition(BaseModel):
- ctime = DateTimeField(null=True)
- expire_time = DateTimeField(null=True)
- guest_team = CharField()
- home_team = CharField()
- id = IntegerField(constraints=[SQL("DEFAULT nextval('bk_competition_id_seq'::regclass)")])
- is_morningplate = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- is_rollball = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- is_stringscene = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- is_today = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- lg_id = IntegerField(null=True)
- match_date = DateField(null=True)
- match_id = BigIntegerField(constraints=[SQL("DEFAULT 0")], null=True, unique=True)
- match_time = TimeField(null=True)
- recommend = CharField(constraints=[SQL("DEFAULT '0'")], null=True)
- sg_id = IntegerField(null=True)
- source = CharField(constraints=[SQL("DEFAULT ''::character varying")], null=True)
- status = CharField(constraints=[SQL("DEFAULT '0'")], null=True)
- tag = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- type = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- utime = DateTimeField(null=True)
- class Meta:
- table_name = 'st_lq_competition'
- primary_key = False
- class StLqGame(BaseModel):
- odds_code = CharField(null=True)
- odds_code_cn = CharField(null=True)
- pid = BigIntegerField()
- class Meta:
- table_name = 'st_lq_game'
- class StLqLeague(BaseModel):
- area_id = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- begin_season = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- bf_ifdisplay = IntegerField(column_name='bf_Ifdisplay', constraints=[SQL("DEFAULT 0")], null=True)
- count_round = BigIntegerField(constraints=[SQL("DEFAULT '1'::bigint")])
- country_id = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- curr_round = BigIntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- id = BigAutoField()
- if_have_sub = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- if_stop = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- kind = IntegerField(constraints=[SQL("DEFAULT '1'::bigint")])
- last_time = DateTimeField(null=True)
- league_list = BigIntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- league_pic = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- lg_id = BigIntegerField(constraints=[SQL("DEFAULT 0")], unique=True)
- match_mode = IntegerField(constraints=[SQL("DEFAULT '1'::bigint")])
- match_season = CharField(constraints=[SQL("DEFAULT 'NULL::bpchar'")], null=True)
- name_chinese = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- name_english = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- source = CharField(null=True)
- class Meta:
- table_name = 'st_lq_league'
- class StLqOdds(BaseModel):
- condition = CharField(constraints=[SQL("DEFAULT ''::character varying")])
- ctime = DateTimeField()
- expire_time = DateTimeField(null=True)
- id = BigIntegerField(constraints=[SQL("DEFAULT nextval('st_lq_odds_id_seq'::regclass)")])
- lg_id = IntegerField(constraints=[SQL("DEFAULT 0")])
- match_id = BigIntegerField(constraints=[SQL("DEFAULT 0")])
- max = FloatField(constraints=[SQL("DEFAULT 99")])
- min = FloatField(constraints=[SQL("DEFAULT 0")])
- odds = FloatField()
- odds_code = CharField(constraints=[SQL("DEFAULT ''::character varying")])
- odds_only = CharField(null=True)
- p_code = CharField(constraints=[SQL("DEFAULT ''::character varying")])
- p_id = BigIntegerField(constraints=[SQL("DEFAULT '-1'::integer")])
- sole = CharField(constraints=[SQL("DEFAULT ''::character varying")], unique=True)
- sort = IntegerField(constraints=[SQL("DEFAULT 0")])
- source = CharField(constraints=[SQL("DEFAULT ''::character varying")])
- status = IntegerField(constraints=[SQL("DEFAULT 0")])
- team = CharField(constraints=[SQL("DEFAULT ''::character varying")])
- type = IntegerField(constraints=[SQL("DEFAULT 0")])
- utime = DateTimeField()
- class Meta:
- table_name = 'st_lq_odds'
- primary_key = False
- class StLqOddsRecord(BaseModel):
- condition = CharField(constraints=[SQL("DEFAULT ''::character varying")])
- ctime = DateTimeField(null=True)
- id = BigIntegerField(constraints=[SQL("DEFAULT nextval('st_lq_odds_record_id_seq'::regclass)")])
- lg_id = IntegerField(constraints=[SQL("DEFAULT 0")])
- match_id = BigIntegerField(constraints=[SQL("DEFAULT 0")])
- max = FloatField(constraints=[SQL("DEFAULT 99")])
- min = FloatField(constraints=[SQL("DEFAULT 0")])
- odds = FloatField()
- odds_code = CharField(constraints=[SQL("DEFAULT ''::character varying")])
- odds_only = CharField(null=True)
- p_code = CharField(constraints=[SQL("DEFAULT ''::character varying")])
- p_id = BigIntegerField(constraints=[SQL("DEFAULT '-1'::integer")])
- sort = IntegerField(constraints=[SQL("DEFAULT 0")])
- source = CharField(constraints=[SQL("DEFAULT ''::character varying")])
- status = IntegerField(constraints=[SQL("DEFAULT 0")])
- team = CharField(constraints=[SQL("DEFAULT ''::character varying")])
- type = IntegerField(constraints=[SQL("DEFAULT 0")])
- utime = DateTimeField(null=True)
- class Meta:
- table_name = 'st_lq_odds_record'
- primary_key = False
- class StLqResult(BaseModel):
- all_goal = IntegerField(constraints=[SQL("DEFAULT 0")])
- first_score = CharField(constraints=[SQL("DEFAULT ''::character varying")], null=True)
- guest_rate = FloatField(constraints=[SQL("DEFAULT 0")])
- guest_score = IntegerField(constraints=[SQL("DEFAULT 0")])
- guest_team = CharField()
- home_rate = FloatField(constraints=[SQL("DEFAULT 0")])
- home_score = IntegerField(constraints=[SQL("DEFAULT 0")])
- home_team = CharField()
- last_score = CharField(constraints=[SQL("DEFAULT ''::character varying")], null=True)
- lg_id = IntegerField()
- match_id = BigIntegerField()
- match_process = CharField()
- match_score = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- match_time = CharField()
- match_winer = CharField(constraints=[SQL("DEFAULT ''::character varying")], null=True)
- source = CharField(null=True)
- status = IntegerField(constraints=[SQL("DEFAULT 0")])
- tag = IntegerField(constraints=[SQL("DEFAULT 0")])
- u_guest_score = IntegerField(constraints=[SQL("DEFAULT 0")])
- u_home_score = IntegerField(constraints=[SQL("DEFAULT 0")])
- update_time = DateTimeField()
- class Meta:
- table_name = 'st_lq_result'
- class StLqResultRecord(BaseModel):
- first_score = CharField(null=True)
- guest_rate = FloatField(constraints=[SQL("DEFAULT 0")], null=True)
- guest_score = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- guest_team = CharField()
- home_rate = FloatField(constraints=[SQL("DEFAULT 0")], null=True)
- home_score = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- home_team = CharField()
- last_score = CharField(null=True)
- lg_id = BigIntegerField()
- match_id = BigIntegerField()
- match_process = CharField()
- match_score = CharField(null=True)
- match_time = CharField()
- match_winer = CharField(null=True)
- source = CharField(null=True)
- status = IntegerField()
- tag = IntegerField(null=True)
- update_time = DateTimeField()
- class Meta:
- table_name = 'st_lq_result_record'
- class StOddsCode(BaseModel):
- game_type = CharField(constraints=[SQL("DEFAULT ''::character varying")], null=True)
- id = IntegerField(constraints=[SQL("DEFAULT nextval('st_odds_code_id_seq'::regclass)")])
- odds_code = CharField(constraints=[SQL("DEFAULT ''::character varying")], null=True)
- odds_name = CharField(constraints=[SQL("DEFAULT ''::character varying")], null=True)
- p_id = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- type = IntegerField(constraints=[SQL("DEFAULT 0")])
- class Meta:
- table_name = 'st_odds_code'
- primary_key = False
- class StTeam(BaseModel):
- country_id = BigIntegerField()
- game_type_id = BigIntegerField()
- set_time = DateTimeField(null=True)
- source = CharField(null=True)
- status = IntegerField()
- team_ico = CharField(null=True)
- team_id = BigIntegerField()
- team_name_cn = CharField(null=True)
- team_name_en = CharField(null=True)
- update_time = DateTimeField(null=True)
- class Meta:
- table_name = 'st_team'
- class StWqCompetition(BaseModel):
- ctime = DateTimeField(null=True)
- expire_time = DateTimeField(null=True)
- guest_team = CharField()
- home_team = CharField()
- is_morningplate = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- is_rollball = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- is_stringscene = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- is_today = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- lg_id = IntegerField(null=True)
- match_date = DateField()
- match_id = BigIntegerField(constraints=[SQL("DEFAULT 0")], unique=True)
- match_time = TimeField(null=True)
- recommend = CharField(constraints=[SQL("DEFAULT '0'")], null=True)
- sg_id = IntegerField(null=True)
- source = CharField(constraints=[SQL("DEFAULT ''::character varying")], null=True)
- status = CharField(constraints=[SQL("DEFAULT '0'")], null=True)
- tag = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- type = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- utime = DateTimeField(null=True)
- class Meta:
- table_name = 'st_wq_competition'
- class StWqGame(BaseModel):
- odds_code = CharField(null=True)
- odds_code_cn = CharField(null=True)
- pid = BigIntegerField()
- class Meta:
- table_name = 'st_wq_game'
- class StWqLeague(BaseModel):
- area_id = IntegerField(constraints=[SQL("DEFAULT 0")])
- begin_season = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- bf_ifdisplay = IntegerField(column_name='bf_Ifdisplay', constraints=[SQL("DEFAULT 0")], null=True)
- count_round = BigIntegerField(constraints=[SQL("DEFAULT '1'::bigint")])
- country_id = IntegerField(constraints=[SQL("DEFAULT 0")])
- curr_round = BigIntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- id = BigIntegerField(constraints=[SQL("DEFAULT nextval('st_wq_league_id_seq'::regclass)")])
- if_have_sub = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- if_stop = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- kind = BigIntegerField(constraints=[SQL("DEFAULT '1'::bigint")])
- last_time = DateTimeField(null=True)
- league_list = BigIntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- league_pic = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- lg_id = BigAutoField()
- match_mode = BigIntegerField(constraints=[SQL("DEFAULT '1'::bigint")])
- match_season = CharField(constraints=[SQL("DEFAULT 'NULL::bpchar'")], null=True)
- name_chinese = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- name_english = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- source = CharField(null=True)
- class Meta:
- table_name = 'st_wq_league'
- class StWqOdds(BaseModel):
- condition = CharField(constraints=[SQL("DEFAULT ''::character varying")])
- ctime = DateTimeField(null=True)
- expire_time = DateTimeField(null=True)
- id = BigIntegerField(constraints=[SQL("DEFAULT nextval('st_wq_odds_id_seq'::regclass)")])
- lg_id = IntegerField(constraints=[SQL("DEFAULT 0")])
- match_id = BigIntegerField(constraints=[SQL("DEFAULT 0")])
- max = FloatField(constraints=[SQL("DEFAULT 99")])
- min = FloatField(constraints=[SQL("DEFAULT 0")])
- odds = FloatField()
- odds_code = CharField(constraints=[SQL("DEFAULT ''::character varying")])
- odds_only = CharField(null=True)
- p_code = CharField(constraints=[SQL("DEFAULT ''::character varying")])
- p_id = BigIntegerField(constraints=[SQL("DEFAULT '-1'::integer")])
- sole = CharField(constraints=[SQL("DEFAULT ''::character varying")], null=True, unique=True)
- sort = IntegerField(constraints=[SQL("DEFAULT 0")])
- source = CharField(constraints=[SQL("DEFAULT ''::character varying")], null=True)
- status = IntegerField(constraints=[SQL("DEFAULT 0")])
- team = CharField(constraints=[SQL("DEFAULT ''::character varying")])
- type = IntegerField(constraints=[SQL("DEFAULT 0")])
- utime = DateTimeField(null=True)
- class Meta:
- table_name = 'st_wq_odds'
- primary_key = False
- class StWqOddsRecord(BaseModel):
- condition = CharField(constraints=[SQL("DEFAULT ''::character varying")])
- ctime = DateTimeField(null=True)
- id = BigIntegerField(constraints=[SQL("DEFAULT nextval('st_wq_odds_record_id_seq'::regclass)")])
- lg_id = IntegerField(constraints=[SQL("DEFAULT 0")])
- match_id = BigIntegerField(constraints=[SQL("DEFAULT 0")])
- max = FloatField(constraints=[SQL("DEFAULT 99")])
- min = FloatField(constraints=[SQL("DEFAULT 0")])
- odds = FloatField()
- odds_code = CharField(constraints=[SQL("DEFAULT ''::character varying")])
- odds_only = CharField(null=True)
- p_code = CharField(constraints=[SQL("DEFAULT ''::character varying")])
- p_id = BigIntegerField(constraints=[SQL("DEFAULT '-1'::integer")])
- sort = IntegerField(constraints=[SQL("DEFAULT 0")])
- source = CharField(constraints=[SQL("DEFAULT ''::character varying")])
- status = IntegerField(constraints=[SQL("DEFAULT 0")])
- team = CharField(constraints=[SQL("DEFAULT ''::character varying")])
- type = IntegerField(constraints=[SQL("DEFAULT 0")])
- utime = DateTimeField(null=True)
- class Meta:
- table_name = 'st_wq_odds_record'
- primary_key = False
- class StWqResult(BaseModel):
- all_inning = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- first_inning_score = CharField(null=True)
- first_score_player = CharField(null=True)
- guest_player_let_inning = FloatField(constraints=[SQL("DEFAULT 0")], null=True)
- guest_player_let_plate = FloatField(constraints=[SQL("DEFAULT 0")], null=True)
- guest_player_name = CharField()
- guest_player_score = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- home_player_let_inning = FloatField(constraints=[SQL("DEFAULT 0")], null=True)
- home_player_let_plate = FloatField(constraints=[SQL("DEFAULT 0")], null=True)
- home_player_name = CharField()
- home_player_score = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- last_score_player = CharField(null=True)
- lg_id = BigIntegerField()
- match_id = BigIntegerField()
- match_process = CharField()
- match_time = CharField()
- match_winer_player = CharField(null=True)
- second_inning_score = CharField(null=True)
- source = CharField(null=True)
- status = IntegerField()
- tag = IntegerField(null=True)
- third_inning_score = CharField(null=True)
- update_time = DateTimeField()
- class Meta:
- table_name = 'st_wq_result'
- class StWqResultRecord(BaseModel):
- all_inning = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- first_inning_score = CharField(null=True)
- first_score_player = CharField(null=True)
- guest_player_let_inning = FloatField(constraints=[SQL("DEFAULT 0")], null=True)
- guest_player_let_plate = FloatField(constraints=[SQL("DEFAULT 0")], null=True)
- guest_player_name = CharField()
- guest_player_score = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- home_player_let_inning = FloatField(constraints=[SQL("DEFAULT 0")], null=True)
- home_player_let_plate = FloatField(constraints=[SQL("DEFAULT 0")], null=True)
- home_player_score = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- host_player_name = CharField()
- last_score_player = CharField(null=True)
- lg_id = BigIntegerField()
- match_id = BigIntegerField()
- match_process = CharField()
- match_time = CharField()
- match_winer_player = CharField(null=True)
- second_inning_score = CharField(null=True)
- source = CharField(null=True)
- status = IntegerField()
- tag = IntegerField(null=True)
- third_inning_score = CharField(null=True)
- update_time = DateTimeField()
- class Meta:
- table_name = 'st_wq_result_record'
- class StZqCompetition(BaseModel):
- ctime = DateTimeField(null=True)
- expire_time = DateTimeField(null=True)
- guest_team = CharField()
- home_team = CharField()
- is_morningplate = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- is_rollball = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- is_stringscene = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- is_today = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- lg_id = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- match_date = DateField(null=True)
- match_id = BigIntegerField(constraints=[SQL("DEFAULT 0")], null=True, unique=True)
- match_time = TimeField(null=True)
- recommend = CharField(constraints=[SQL("DEFAULT '0'")], null=True)
- sg_id = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- source = CharField(constraints=[SQL("DEFAULT ''::character varying")], null=True)
- status = CharField(constraints=[SQL("DEFAULT '0'")], null=True)
- tag = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- type = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- utime = DateTimeField(null=True)
- class Meta:
- table_name = 'st_zq_competition'
- class StZqGame(BaseModel):
- odds_code = CharField()
- odds_code_cn = CharField()
- pid = BigIntegerField()
- class Meta:
- table_name = 'st_zq_game'
- class StZqLeague(BaseModel):
- area_id = IntegerField(constraints=[SQL("DEFAULT 0")])
- begin_season = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- bf_ifdisplay = IntegerField(column_name='bf_Ifdisplay', constraints=[SQL("DEFAULT 0")], null=True)
- count_round = BigIntegerField(constraints=[SQL("DEFAULT '1'::bigint")])
- country_id = IntegerField(constraints=[SQL("DEFAULT 0")])
- curr_round = BigIntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- hot = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- id = BigAutoField()
- if_have_sub = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- if_stop = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- kind = IntegerField(constraints=[SQL("DEFAULT '1'::bigint")])
- last_time = DateTimeField(null=True)
- league_list = BigIntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- league_pic = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- lg_id = BigIntegerField(constraints=[SQL("DEFAULT 0")], unique=True)
- match_mode = IntegerField(constraints=[SQL("DEFAULT '1'::bigint")])
- match_season = CharField(constraints=[SQL("DEFAULT 'NULL::bpchar'")], null=True)
- name_chinese = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- name_english = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- source = CharField(null=True)
- class Meta:
- table_name = 'st_zq_league'
- class StZqOdds(BaseModel):
- condition = CharField(constraints=[SQL("DEFAULT ''::character varying")])
- ctime = DateTimeField()
- expire_time = DateTimeField(null=True)
- id = BigIntegerField(constraints=[SQL("DEFAULT nextval('st_zq_odds_id_seq'::regclass)")])
- lg_id = IntegerField(constraints=[SQL("DEFAULT 0")])
- match_id = BigIntegerField(constraints=[SQL("DEFAULT 0")])
- max = FloatField(constraints=[SQL("DEFAULT 99")])
- min = FloatField(constraints=[SQL("DEFAULT 0")])
- odds = FloatField()
- odds_code = CharField(constraints=[SQL("DEFAULT ''::character varying")])
- odds_only = CharField(constraints=[SQL("DEFAULT ''::character varying")])
- p_code = CharField(constraints=[SQL("DEFAULT ''::character varying")])
- p_id = BigIntegerField(constraints=[SQL("DEFAULT '-1'::integer")])
- sole = CharField(constraints=[SQL("DEFAULT ''::character varying")], unique=True)
- sort = IntegerField(constraints=[SQL("DEFAULT 0")])
- source = CharField(constraints=[SQL("DEFAULT ''::character varying")])
- status = IntegerField(constraints=[SQL("DEFAULT 0")])
- team = CharField(constraints=[SQL("DEFAULT ''::character varying")])
- type = IntegerField(constraints=[SQL("DEFAULT 0")])
- utime = DateTimeField()
- class Meta:
- table_name = 'st_zq_odds'
- primary_key = False
- class StZqOddsRecord(BaseModel):
- condition = CharField(constraints=[SQL("DEFAULT ''::character varying")])
- ctime = DateTimeField(null=True)
- id = BigIntegerField(constraints=[SQL("DEFAULT nextval('st_zq_odds_record_id_seq'::regclass)")])
- lg_id = IntegerField(constraints=[SQL("DEFAULT 0")])
- match_id = BigIntegerField(constraints=[SQL("DEFAULT 0")])
- max = FloatField(constraints=[SQL("DEFAULT 99")])
- min = FloatField(constraints=[SQL("DEFAULT 0")])
- odds = FloatField()
- odds_code = CharField(constraints=[SQL("DEFAULT ''::character varying")])
- odds_only = CharField(constraints=[SQL("DEFAULT ''::character varying")], null=True)
- p_code = CharField(constraints=[SQL("DEFAULT ''::character varying")])
- p_id = BigIntegerField(constraints=[SQL("DEFAULT '-1'::integer")])
- sort = IntegerField(constraints=[SQL("DEFAULT 0")])
- source = CharField(constraints=[SQL("DEFAULT ''::character varying")])
- status = IntegerField(constraints=[SQL("DEFAULT 0")])
- team = CharField(constraints=[SQL("DEFAULT ''::character varying")])
- type = IntegerField(constraints=[SQL("DEFAULT 0")])
- utime = DateTimeField(null=True)
- class Meta:
- table_name = 'st_zq_odds_record'
- primary_key = False
- class StZqResult(BaseModel):
- all_goal = IntegerField(constraints=[SQL("DEFAULT 0")])
- first_score = CharField(constraints=[SQL("DEFAULT ''::character varying")], null=True)
- guest_rate = FloatField(constraints=[SQL("DEFAULT 0")])
- guest_score = IntegerField(constraints=[SQL("DEFAULT 0")])
- guest_team = CharField()
- home_rate = FloatField(constraints=[SQL("DEFAULT 0")])
- home_score = IntegerField(constraints=[SQL("DEFAULT 0")])
- home_team = CharField()
- last_score = CharField(constraints=[SQL("DEFAULT ''::character varying")], null=True)
- lg_id = IntegerField()
- match_id = BigIntegerField()
- match_process = CharField()
- match_score = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- match_time = CharField()
- match_winer = CharField(constraints=[SQL("DEFAULT ''::character varying")], null=True)
- source = CharField(null=True)
- status = IntegerField(constraints=[SQL("DEFAULT 0")])
- tag = IntegerField(constraints=[SQL("DEFAULT 0")])
- u_guest_score = IntegerField(constraints=[SQL("DEFAULT 0")])
- u_home_score = IntegerField(constraints=[SQL("DEFAULT 0")])
- update_time = DateTimeField()
- class Meta:
- table_name = 'st_zq_result'
- class StZqResultRecord(BaseModel):
- all_goal = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- first_score = CharField(null=True)
- guest_rate = FloatField(constraints=[SQL("DEFAULT 0")], null=True)
- guest_score = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- guest_team = CharField()
- home_rate = FloatField(constraints=[SQL("DEFAULT 0")], null=True)
- home_score = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- home_team = CharField()
- last_score = CharField(null=True)
- lg_id = BigIntegerField()
- match_id = BigIntegerField()
- match_process = CharField()
- match_score = CharField(null=True)
- match_time = CharField()
- match_winer = CharField(null=True)
- source = CharField(null=True)
- status = IntegerField()
- tag = IntegerField(null=True)
- update_time = DateTimeField()
- class Meta:
- table_name = 'st_zq_result_record'
- class StZqSubleague(BaseModel):
- group_num = BigIntegerField(null=True)
- id = BigAutoField()
- league_id = BigIntegerField(null=True)
- match_season = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- name_chinese = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- name_english = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- order = BigIntegerField(null=True)
- class Meta:
- table_name = 'st_zq_subleague'
- class Succedaneum(BaseModel):
- account_identity = CharField()
- id = BigAutoField()
- parent_userid = CharField()
- class Meta:
- table_name = 'succedaneum'
- class SystemBank(BaseModel):
- bank = CharField()
- bank_num = CharField()
- groups = CharField(constraints=[SQL("DEFAULT '0,'::character varying")], null=True)
- groups_names = CharField(constraints=[SQL("DEFAULT '|'::character varying")], null=True)
- id = BigAutoField()
- infoname = CharField()
- remark = CharField(null=True)
- sort = IntegerField(null=True)
- status = IntegerField()
- time = DateTimeField(null=True)
- type = IntegerField(constraints=[SQL("DEFAULT 1")], null=True)
- class Meta:
- table_name = 'system_bank'
- class SystemColumnRoot(BaseModel):
- id = BigAutoField()
- menu_id = IntegerField(null=True)
- root_id = IntegerField(null=True)
- class Meta:
- table_name = 'system_column_root'
- class SystemLog(BaseModel):
- identity = CharField(primary_key=True)
- ip = CharField(null=True)
- mark = CharField(null=True)
- operation = CharField(null=True)
- operation_time = DateTimeField(null=True)
- random = CharField(null=True)
- status = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- system_identity = IntegerField(null=True)
- class Meta:
- table_name = 'system_log'
- class SystemMenu(BaseModel):
- display = BigIntegerField(constraints=[SQL("DEFAULT 1")], null=True)
- id = BigAutoField()
- name = CharField()
- parentid = IntegerField(null=True)
- path = CharField()
- sort = BigIntegerField()
- class Meta:
- table_name = 'system_menu'
- class SystemPower(BaseModel):
- id = BigIntegerField(constraints=[SQL("DEFAULT nextval('system_power_id_seq'::regclass)")])
- identity = CharField(primary_key=True)
- status = IntegerField(constraints=[SQL("DEFAULT 0")])
- value = CharField()
- class Meta:
- table_name = 'system_power'
- indexes = (
- (('id', 'identity', 'value'), False),
- )
- class SystemRoot(BaseModel):
- id = BigAutoField()
- level = CharField()
- name = CharField(null=True)
- settingmoney = DecimalField(null=True)
- class Meta:
- table_name = 'system_root'
- class SystemSetting(BaseModel):
- id = BigAutoField()
- identity = CharField()
- name = CharField()
- status = IntegerField(null=True)
- value = CharField()
- class Meta:
- table_name = 'system_setting'
- class SystemUser(BaseModel):
- add_time = DateTimeField(constraints=[SQL("DEFAULT now()")], null=True)
- encryption = CharField()
- encryption_2 = CharField(null=True)
- id = BigAutoField()
- img_url = CharField(null=True)
- loginname = CharField()
- password = CharField()
- password_2 = CharField(null=True)
- remarks = TextField(null=True)
- root_id = IntegerField()
- status = IntegerField(constraints=[SQL("DEFAULT 1")])
- token = CharField(null=True)
- class Meta:
- table_name = 'system_user'
- class UserLogs(BaseModel):
- create_time = DateTimeField(null=True)
- header = TextField(null=True)
- id = BigAutoField()
- ip = CharField(null=True)
- user_id = CharField(null=True)
- user_name = CharField(null=True)
- class Meta:
- table_name = 'user_logs'
- class UserSetting(BaseModel):
- account_identity = TextField(primary_key=True)
- cart_info = JSONField(null=True)
- created_at = DateTimeField(constraints=[SQL("DEFAULT NULL::timestamp without time zone")], null=True)
- device_number = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- device_state = IntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- fav_info = JSONField(null=True)
- hand_lock = IntegerField(constraints=[SQL("DEFAULT 0")])
- hand_pass = CharField(constraints=[SQL("DEFAULT ''::character varying")], null=True)
- prize_all = BigIntegerField(constraints=[SQL("DEFAULT 1")], null=True)
- prize_ani = IntegerField(constraints=[SQL("DEFAULT 0")])
- prize_games = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- shake_rand = IntegerField(constraints=[SQL("DEFAULT 0")])
- sound = IntegerField(constraints=[SQL("DEFAULT 0")])
- updated_at = DateTimeField(constraints=[SQL("DEFAULT NULL::timestamp without time zone")], null=True)
- win_games = BigIntegerField(constraints=[SQL("DEFAULT 0")], null=True)
- class Meta:
- table_name = 'user_setting'
- class UserVip(BaseModel):
- account_identity = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- account_name = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- addtime = DateTimeField(constraints=[SQL("DEFAULT NULL::timestamp without time zone")], null=True)
- audittime = DateTimeField(constraints=[SQL("DEFAULT NULL::timestamp without time zone")], null=True)
- id = BigAutoField()
- remark = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- status = IntegerField(constraints=[SQL("DEFAULT 1")], null=True)
- sysetem_user = CharField(constraints=[SQL("DEFAULT 'NULL::character varying'")], null=True)
- sysetem_user_id = IntegerField(null=True)
- class Meta:
- table_name = 'user_vip'
|