|
|
@ -1,13 +1,11 @@ |
|
|
|
package com.hnac.hzims.operational.alert.entity; |
|
|
|
package com.hnac.hzims.operational.alert.entity; |
|
|
|
|
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableName; |
|
|
|
import com.baomidou.mybatisplus.annotation.TableName; |
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat; |
|
|
|
|
|
|
|
import io.swagger.annotations.ApiModel; |
|
|
|
import io.swagger.annotations.ApiModel; |
|
|
|
import io.swagger.annotations.ApiModelProperty; |
|
|
|
import io.swagger.annotations.ApiModelProperty; |
|
|
|
import lombok.Data; |
|
|
|
import lombok.Data; |
|
|
|
import lombok.EqualsAndHashCode; |
|
|
|
import lombok.EqualsAndHashCode; |
|
|
|
import org.springblade.core.mp.base.BaseEntity; |
|
|
|
import org.springblade.core.mp.base.BaseEntity; |
|
|
|
import org.springframework.format.annotation.DateTimeFormat; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import java.util.Date; |
|
|
|
import java.util.Date; |
|
|
|
|
|
|
|
|
|
|
@ -15,7 +13,7 @@ import java.util.Date; |
|
|
|
@TableName("hzims_history_abnormal_alarm") |
|
|
|
@TableName("hzims_history_abnormal_alarm") |
|
|
|
@EqualsAndHashCode(callSuper = false) |
|
|
|
@EqualsAndHashCode(callSuper = false) |
|
|
|
@ApiModel(value = "数据中断告警对象") |
|
|
|
@ApiModel(value = "数据中断告警对象") |
|
|
|
public class HistoryAbnormalAlarmEntity { |
|
|
|
public class HistoryAbnormalAlarmEntity extends BaseEntity { |
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty("ID") |
|
|
|
@ApiModelProperty("ID") |
|
|
|
private Long id; |
|
|
|
private Long id; |
|
|
@ -43,25 +41,4 @@ public class HistoryAbnormalAlarmEntity { |
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty("告警原因") |
|
|
|
@ApiModelProperty("告警原因") |
|
|
|
private String soeExplain; |
|
|
|
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; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|