package cn.iocoder.yudao.module.iot.controller.admin.devicewarinningrecord.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 告警记录 Response VO")
@Data
@ExcelIgnoreUnannotated
public class DeviceWarinningRecordRespVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "22919")
    @ExcelProperty("ID")
    private Long id;

    @Schema(description = "设备ID", example = "27939")
    @ExcelProperty("设备ID")
    private Long deviceId;

    @Schema(description = "设备名称")
    private String deviceName;

    @Schema(description = "点位模型ID", example = "18634")
    @ExcelProperty("点位模型ID")
    private Long modelId;

    @Schema(description = "点位模型名称")
    private String modelName;

    @Schema(description = "规则值")
    @ExcelProperty("规则值")
    private String rule;

    @Schema(description = "告警等级")
    @ExcelProperty("告警等级")
    private String alarmLevel;

    @Schema(description = "地址值")
    @ExcelProperty("地址值")
    private String addressValue;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "点位规则Id", example = "25946")
    @ExcelProperty("点位规则Id")
    private Long ruleId;

    @Schema(description = "点位规则名称", example = "25946")
    private String ruleName;


}