16 lines
437 B
Python
16 lines
437 B
Python
|
from sqlalchemy import Column, Integer, String
|
||
|
from sqlalchemy.orm import declarative_base
|
||
|
|
||
|
'''
|
||
|
行业板块个股
|
||
|
'''
|
||
|
class StockByIndustrySector(declarative_base()):
|
||
|
__tablename__ = 'stock_by_industry_sector'
|
||
|
|
||
|
id = Column(Integer, primary_key=True, autoincrement=True)
|
||
|
update_date = Column(String, nullable=False)
|
||
|
sector_name = Column(String)
|
||
|
sector_code = Column(String)
|
||
|
stock_name = Column(String)
|
||
|
stock_code = Column(String)
|