账号添加宇恒一号用户id管理
This commit is contained in:
@@ -15,8 +15,9 @@ class Account(Base):
|
||||
updated_at = Column(DateTime, server_default=func.now(), onupdate=func.now(), comment="更新时间")
|
||||
update_time = Column(String(1000), nullable=False, comment="更新时间跨度")
|
||||
max_variation = Column(Integer, default=1, comment="变化量的绝对值,单位是毫米")
|
||||
yh_id = Column(String(1000), comment="宇恒一号用户id")
|
||||
|
||||
|
||||
|
||||
# 模型转字典
|
||||
def to_dict(self):
|
||||
"""将模型实例转换为字典,支持 Pydantic 序列化"""
|
||||
|
||||
Reference in New Issue
Block a user