数据处理基础
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")
|
||||
12
app/models/level_data.py
Normal file
12
app/models/level_data.py
Normal file
@@ -0,0 +1,12 @@
|
||||
from sqlalchemy import Column, Integer, String
|
||||
from ..core.database import Base
|
||||
|
||||
class LevelData(Base):
|
||||
__tablename__ = "level_data"
|
||||
|
||||
id = Column(Integer, primary_key=True, index=True, autoincrement=True)
|
||||
linecode = Column(String(100), nullable=False, comment="水准线路编码", index=True)
|
||||
benchmarkids = Column(String(100), comment="工作基点名称序列")
|
||||
wsphigh = Column(String(100), comment="工作基点高程序列(m)")
|
||||
NYID = Column(String(100), nullable=False, comment="期数id", index=True)
|
||||
createDate = Column(String(100), comment="上传时间")
|
||||
15
app/models/original_data.py
Normal file
15
app/models/original_data.py
Normal file
@@ -0,0 +1,15 @@
|
||||
from sqlalchemy import Column, Integer, String, DateTime
|
||||
from ..core.database import Base
|
||||
|
||||
class OriginalData(Base):
|
||||
__tablename__ = "original_data"
|
||||
|
||||
id = Column(Integer, primary_key=True, index=True, autoincrement=True)
|
||||
bfpcode = Column(String(1000), nullable=False, comment="前(后)视点名称")
|
||||
mtime = Column(DateTime, nullable=False, comment="测点观测时间")
|
||||
bffb = Column(String(1000), nullable=False, comment="前(后)视标记符")
|
||||
bfpl = Column(String(1000), nullable=False, comment="前(后)视距离(m)")
|
||||
bfpvalue = Column(String(1000), nullable=False, comment="前(后)视尺读数(m)")
|
||||
times = Column(String(1000), nullable=False, comment="上传时间")
|
||||
NYID = Column(String(100), nullable=False, comment="期数id", index=True)
|
||||
sort = Column(Integer, comment="序号")
|
||||
15
app/models/section_data.py
Normal file
15
app/models/section_data.py
Normal file
@@ -0,0 +1,15 @@
|
||||
from sqlalchemy import Column, Integer, String
|
||||
from ..core.database import Base
|
||||
|
||||
class SectionData(Base):
|
||||
__tablename__ = "section_data"
|
||||
|
||||
id = Column(Integer, primary_key=True, index=True, autoincrement=True)
|
||||
mileage = Column(String(100), nullable=False, comment="断面里程")
|
||||
work_site = Column(String(100), nullable=False, comment="工点")
|
||||
basic_types = Column(String(100), comment="基础类型")
|
||||
height = Column(String(100), comment="桥墩台高度")
|
||||
status = Column(String(100), nullable=False, comment="断面状态")
|
||||
number = Column(String(100), nullable=False, comment="所在桥梁墩(台)编号", index=True)
|
||||
transition_paragraph = Column(String(100), comment="过渡段")
|
||||
section_id = Column(String(100), nullable=False, comment="断面id", index=True)
|
||||
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