16 lines
435 B
Python
16 lines
435 B
Python
from sqlalchemy import Column, Integer, String
|
|
from sqlalchemy.orm import declarative_base
|
|
|
|
'''
|
|
概念板块个股
|
|
'''
|
|
class StockByConceptSector(declarative_base()):
|
|
__tablename__ = 'stock_by_concept_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)
|