|
@@ -16,7 +16,7 @@ class BmsLastDataDay(Base):
|
|
|
id = Column(Integer, primary_key=True, autoincrement=True, comment="主键")
|
|
|
sn = Column(String(64), comment="sn")
|
|
|
current = Column(FLOAT, comment="电流")
|
|
|
- time_stamp = Column(Integer, comment="时间戳")
|
|
|
+ time_stamp = Column(DateTime, comment="时间戳")
|
|
|
pack_state = Column(Integer, comment="电池状态")
|
|
|
line_state = Column(Integer, comment="信号状态")
|
|
|
|
|
@@ -34,7 +34,7 @@ class GpsLastDataDay(Base):
|
|
|
|
|
|
id = Column(Integer, primary_key=True, autoincrement=True, comment="主键")
|
|
|
sn = Column(String(64), comment="sn")
|
|
|
- time_stamp = Column(Integer, comment="时间戳")
|
|
|
+ time_stamp = Column(DateTime, comment="时间戳")
|
|
|
pack_state = Column(Integer, comment="电池状态")
|
|
|
line_state = Column(Integer, comment="信号状态")
|
|
|
|