early_start.py 430 B

123456789101112131415
  1. # -*- coding: utf-8 -*-
  2. from sqlalchemy import Column, Integer, String
  3. from app.db.session import Base
  4. class EarlyStartDTRModelPath(Base):
  5. __tablename__ = "early_start_dtr_models"
  6. id = Column(Integer, primary_key=True, index=True)
  7. project_id = Column(String, nullable=False)
  8. device_id = Column(String, unique=True, nullable=False)
  9. summer_model_path = Column(String)
  10. winter_model_path = Column(String)