11 lines
503 B
Python
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") |