Files
railway_cloud/app/models/checkpoint.py
2025-09-28 15:17:09 +08:00

11 lines
503 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="埋设日期")
section_id = Column(String(100), nullable=False, comment="所属断面id")
point_id = Column(String(100), nullable=False, comment="观察点id")