Files
railway_cloud/app/models/checkpoint.py
2025-10-14 10:38:47 +08:00

12 lines
562 B
Python

from sqlalchemy import Column, Integer, String
from ..core.database import Base
class Checkpoint(Base):
__tablename__ = "checkpoint"
id = Column(Integer, primary_key=True, index=True, autoincrement=True)
aname = Column(String(100), nullable=False, comment="观察点名称")
burial_date = Column(String(100), comment="埋设日期")
linecode = Column(String(100), comment="线路编码")
section_id = Column(String(100), nullable=False, comment="所属断面id")
point_id = Column(String(100), nullable=False, comment="观察点id")