xujiayue 1 rok pred
rodič
commit
f6d5f5c12b
1 zmenil súbory, kde vykonal 4 pridanie a 0 odobranie
  1. 4 0
      app/models/jm_job_info.py

+ 4 - 0
app/models/jm_job_info.py

@@ -37,3 +37,7 @@ class JmJobInfo(BaseModel):
     create_time = Column(Integer)
     # 更新时间
     update_time = Column(Integer)
+
+
+    def __repr__(self):
+        return f'id: {self.id}, name: {self.name}, type: {self.type}'