package com.iailab.module.model.api.mcs.dto; /** * @author PanZhibao * @Description * @createTime 2024å¹´08月29æ—¥ */ import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import java.io.Serializable; import java.math.BigDecimal; import java.util.Date; /** * @author PanZhibao * @Description * @createTime 2024å¹´08月29æ—¥ */ @Schema(description = "RPC 模型 - 预è¦æ¶ˆæ¯ DTO") @Data public class AlarmMessageRespDTO implements Serializable { private static final long serialVersionUID = 1L; @Schema(description = "ID") private String id; @Schema(description = "é…ç½®ID") private String configId; @Schema(description = "消æ¯æ ‡é¢˜") private String title; @Schema(description = "消æ¯å†…容") private String content; @Schema(description = "监控对象") private String alarmObj; @Schema(description = "监控点ä½ID") private String pointId; @Schema(description = "预测项ID") private String itemId; @Schema(description = "当å‰å€¼") private BigDecimal currentValue; @Schema(description = "超出时间") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date outTime; @Schema(description = "超出值") private BigDecimal outValue; @Schema(description = "预è¦ç±»åž‹") private String alarmType; @Schema(description = "预è¦æ—¶é—´") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date alarmTime; @Schema(description = "创建时间") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date createTime; }