12 lines
558 B
Python
12 lines
558 B
Python
from sqlalchemy import Column, Integer, String
|
|
from ..core.database import Base
|
|
|
|
class DailyData(Base):
|
|
__tablename__ = "daily"
|
|
|
|
id = Column(Integer, primary_key=True, index=True, autoincrement=True)
|
|
account_id = Column(Integer, nullable=False, comment="账户id")
|
|
point_id = Column(String(100), comment="测点id")
|
|
NYID = Column(String(100), nullable=False, comment="期数id")
|
|
linecode = Column(String(255), nullable=False, comment="水准线路编码")
|
|
section_id = Column(String(255), nullable=False, comment="所属断面id") |