数据查询完善
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
from sqlalchemy import Column, Integer, String
|
||||
from typing import List
|
||||
from ..core.database import Base
|
||||
from .checkpoint import Checkpoint
|
||||
|
||||
class SectionData(Base):
|
||||
__tablename__ = "section_data"
|
||||
@@ -14,6 +12,4 @@ class SectionData(Base):
|
||||
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)
|
||||
|
||||
Checkpoints = List[Checkpoint]
|
||||
section_id = Column(String(100), nullable=False, comment="断面id", index=True)
|
||||
Reference in New Issue
Block a user