数据处理基础

This commit is contained in:
lhx
2025-09-28 15:17:09 +08:00
parent 247bb71d55
commit f89f2eef37
16 changed files with 1314 additions and 0 deletions

View 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="序号")