From 4b364a6c4e5e8b8aceeb6fde5984ff9b978847e7 Mon Sep 17 00:00:00 2001 From: yang_shj Date: Wed, 15 Mar 2023 12:00:34 +0800 Subject: [PATCH] =?UTF-8?q?#=E6=95=B0=E6=8D=AE=E5=A1=AB=E6=8A=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../alert/entity/HistoryAbnormalAlarmEntity.java | 25 +--------------------- 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/hzims-service-api/hzims-operational-api/src/main/java/com/hnac/hzims/operational/alert/entity/HistoryAbnormalAlarmEntity.java b/hzims-service-api/hzims-operational-api/src/main/java/com/hnac/hzims/operational/alert/entity/HistoryAbnormalAlarmEntity.java index bd64376..9768788 100644 --- a/hzims-service-api/hzims-operational-api/src/main/java/com/hnac/hzims/operational/alert/entity/HistoryAbnormalAlarmEntity.java +++ b/hzims-service-api/hzims-operational-api/src/main/java/com/hnac/hzims/operational/alert/entity/HistoryAbnormalAlarmEntity.java @@ -1,13 +1,11 @@ package com.hnac.hzims.operational.alert.entity; import com.baomidou.mybatisplus.annotation.TableName; -import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; import org.springblade.core.mp.base.BaseEntity; -import org.springframework.format.annotation.DateTimeFormat; import java.util.Date; @@ -15,7 +13,7 @@ import java.util.Date; @TableName("hzims_history_abnormal_alarm") @EqualsAndHashCode(callSuper = false) @ApiModel(value = "数据中断告警对象") -public class HistoryAbnormalAlarmEntity { +public class HistoryAbnormalAlarmEntity extends BaseEntity { @ApiModelProperty("ID") private Long id; @@ -43,25 +41,4 @@ public class HistoryAbnormalAlarmEntity { @ApiModelProperty("告警原因") private String soeExplain; - - @DateTimeFormat( - pattern = "yyyy-MM-dd HH:mm:ss" - ) - @JsonFormat( - pattern = "yyyy-MM-dd HH:mm:ss" - ) - @ApiModelProperty("创建时间") - private Date createTime; - - @DateTimeFormat( - pattern = "yyyy-MM-dd HH:mm:ss" - ) - @JsonFormat( - pattern = "yyyy-MM-dd HH:mm:ss" - ) - @ApiModelProperty("更新时间") - private Date updateTime; - - @ApiModelProperty("是否删除") - private Integer isDelete; }