package com.iailab.module.model.mcs.pre.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author PanZhibao
 * @Description
 * @createTime 2024年11月20日
 */
@Schema(description = "模型服务 - 预警消息 Response VO")
@Data
@ExcelIgnoreUnannotated
public class MmPredictAlarmMessageRespVO {

    @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 = "输出ID")
    private String outId;

    @Schema(description = "当前值")
    private BigDecimal currentValue;

    @Schema(description = "超出时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", 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", timezone = "GMT+8")
    private Date alarmTime;

    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
}