Browse Source

测试打印日志

xujiayue 1 year ago
parent
commit
f6d5f5c12b
1 changed files with 4 additions and 0 deletions
  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}'