15 lines
807 B
Python
15 lines
807 B
Python
from sqlalchemy import Column, Integer, String
|
|
from ..core.database import Base
|
|
|
|
class SectionData(Base):
|
|
__tablename__ = "section_data"
|
|
|
|
id = Column(Integer, primary_key=True, index=True, autoincrement=True)
|
|
mileage = Column(String(100), nullable=False, comment="断面里程")
|
|
work_site = Column(String(100), nullable=False, comment="工点")
|
|
basic_types = Column(String(100), comment="基础类型")
|
|
height = Column(String(100), comment="桥墩台高度")
|
|
status = Column(String(100), nullable=False, comment="断面状态")
|
|
number = Column(String(100), nullable=False, comment="所在桥梁墩(台)编号", index=True)
|
|
transition_paragraph = Column(String(100), comment="过渡段")
|
|
section_id = Column(String(100), nullable=False, comment="断面id", index=True) |