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 数据分析-系统日志-告警日志vo
 * @date 2023-11-10 15:11:34
 */
@Data
public class AlarmLogThresholdVO implements Serializable {
    private Long id;

    private String mountainId;

    private String projectId;
    private String projectName;

    /**
     * 告警标题
     */
    private String title;


    /**
     * 告警标题
     */
    private String itemName;

    /**
     * 告警触发数值
     */
    private String val;

    /**
     * 告警内容
     */
    private String content;

    /**
     * 告警等级
     */
    private String level;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    private static final long serialVersionUID = 1L;
}
