26 lines
758 B
Python
26 lines
758 B
Python
# coding: utf-8
|
|
from sqlalchemy import Column, Float, Integer, String
|
|
from sqlalchemy.dialects.mysql import VARCHAR
|
|
from sqlalchemy.ext.declarative import declarative_base
|
|
|
|
Base = declarative_base()
|
|
metadata = Base.metadata
|
|
|
|
|
|
class FootballMatchZjqOdd(Base):
|
|
__tablename__ = 'football_match_zjq_odds'
|
|
__table_args__ = {'comment': '竞彩足球总进球数赔率表'}
|
|
|
|
id = Column(Integer, primary_key=True)
|
|
issue = Column(VARCHAR(255))
|
|
match_id = Column(Integer)
|
|
result = Column(String(50, 'utf8mb4_general_ci'))
|
|
ball_0 = Column(Float)
|
|
ball_1 = Column(Float)
|
|
ball_2 = Column(Float)
|
|
ball_3 = Column(Float)
|
|
ball_4 = Column(Float)
|
|
ball_5 = Column(Float)
|
|
ball_6 = Column(Float)
|
|
ball_7_plus = Column(Float)
|