水准数据增加字段

This commit is contained in:
lhx
2025-11-19 12:01:47 +08:00
parent cfff3e990f
commit e19ea35622
5 changed files with 58 additions and 2 deletions

View File

@@ -11,6 +11,14 @@ class LevelData(Base):
NYID = Column(String(100), nullable=False, comment="期数id", index=True)
createDate = Column(DateTime, comment="上传时间")
mtype = Column(String(100), comment="水准观测类型")
wspversion = Column(String(100), comment="版本信息")
barometric = Column(String(100), comment="气压值")
equipbrand = Column(String(100), comment="设备品牌")
instrumodel = Column(String(100), comment="仪器型号")
serialnum = Column(String(100), comment="序列号")
sjname = Column(String(100), comment="事件名称")
temperature = Column(String(100), comment="温度")
weather = Column(String(100), comment="天气")
# 模型转字典
def to_dict(self):