数据处理基础
This commit is contained in:
15
app/models/section_data.py
Normal file
15
app/models/section_data.py
Normal file
@@ -0,0 +1,15 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user