qnloft-stock/DB/model/StockByIndustrySector.py

16 lines
437 B
Python
Raw Normal View History

2023-11-24 02:49:22 +00:00
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)