package com.sckw.slope.detection.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author lfdc
 * @description 告警记录明细数据
 * @date 2023-11-14 14:11:06
 */
@Data
public class ThresholdRecordDetailVO implements Serializable {
    /**
     * ID
     */
    private Long id;
    /**
     * 告警类型
     */
    private String alarmLevel;
    /**
     * 监测类型
     */
    private String type;
    /**
     * 当前值
     */
    private String value;
    private String itemName;
    /**
     * 短信手机号
     */
    private String phone;
    /**
     * 告警地点
     */
    private String location;
    /**
     * 告警产生时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

}
