Jelajahi Sumber

心跳接口修改

gao.qiang 9 bulan lalu
induk
melakukan
3caef4afc9

+ 5 - 1
business-service/src/main/java/com/ozs/entity/PreAlarm.java

@@ -20,7 +20,7 @@ import java.util.Date;
 @AllArgsConstructor
 @NoArgsConstructor
 @Builder
-public class PreAlarm extends BaseEntity implements Serializable {
+public class PreAlarm implements Serializable {
 
     private static final long serialVersionUID = 1L;
 
@@ -50,4 +50,8 @@ public class PreAlarm extends BaseEntity implements Serializable {
      * 预警目标数据组
      */
     private String preAlarmList;
+
+    /** 创建时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private Date createdTime;
 }