package cn.iocoder.yudao.module.pms.controller.admin.alarm.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 IotAlarmRecordRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "19813")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "告警类型", example = "2")
    @ExcelProperty("告警类型")
    private String type;

    @Schema(description = "设备编号")
    @ExcelProperty("设备编号")
    private String deviceCode;

    @Schema(description = "设备属性")
    @ExcelProperty("设备属性")
    private String deviceProperty;

    @Schema(description = "告警时间")
    @ExcelProperty("告警时间")
    private String alarmTime;

    @Schema(description = "告警数值")
    @ExcelProperty("告警数值")
    private String alarmValue;

    @Schema(description = "备注", example = "随便")
    @ExcelProperty("备注")
    private String remark;

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

}