数据处理基础
This commit is contained in:
26
app/models/settlement_data.py
Normal file
26
app/models/settlement_data.py
Normal file
@@ -0,0 +1,26 @@
|
||||
from sqlalchemy import Column, Integer, String
|
||||
from ..core.database import Base
|
||||
|
||||
class SettlementData(Base):
|
||||
__tablename__ = "settlement_data"
|
||||
|
||||
id = Column(Integer, primary_key=True, index=True, autoincrement=True)
|
||||
point_id = Column(String(100), nullable=False, comment="观测点id", index=True)
|
||||
CVALUE = Column(String(100), nullable=False, comment="修正量(m)")
|
||||
MAVALUE = Column(String(100), nullable=False, comment="成果值(m)")
|
||||
MTIME_W = Column(String(100), nullable=False, comment="观测时间")
|
||||
NYID = Column(String(100), nullable=False, comment="期数id", index=True)
|
||||
PRELOADH = Column(String(100), nullable=False)
|
||||
PSTATE = Column(String(100), nullable=False)
|
||||
REMARK = Column(String(100), comment="备注")
|
||||
WORKINFO = Column(String(100))
|
||||
createdate = Column(String(100), nullable=False, comment="上传时间")
|
||||
day = Column(String(100), nullable=False, comment="累计天数")
|
||||
day_jg = Column(String(100), nullable=False, comment="两次观测时")
|
||||
isgzjdxz = Column(String(100))
|
||||
mavalue_bc = Column(String(100), comment="本次沉降")
|
||||
mavalue_lj = Column(String(100), comment="累计沉降")
|
||||
sjName = Column(String(100), comment="司镜人员")
|
||||
useflag = Column(String(100))
|
||||
workinfoname = Column(String(100), comment="观测阶段")
|
||||
upd_remark = Column(String(1000), comment="备注")
|
||||
Reference in New Issue
Block a user