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; }