水准数据模型一些修改

This commit is contained in:
lhx
2025-11-19 18:23:30 +08:00
parent e19ea35622
commit f6b9e649f4
3 changed files with 61 additions and 30 deletions

View File

@@ -5,12 +5,12 @@ 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="工点")
mileage = Column(String(100), nullable=True, comment="断面里程")
work_site = Column(String(100), nullable=True, 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)
status = Column(String(100), nullable=True, comment="断面状态")
number = Column(String(100), nullable=True, comment="所在桥梁墩(台)编号", index=True)
transition_paragraph = Column(String(100), comment="过渡段")
design_fill_height = Column(String(100), comment="设计填土高度")
compression_layer_thickness = Column(String(100), comment="压实层厚度")