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