package cn.iocoder.yudao.module.system.controller.admin.biz.vo;

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

import java.time.LocalDateTime;

/**
 * @Author: jinyd
 * @CreateTime: 2024/11/4  11:59
 * @Description:
 * @Version: 4.0
 */


@Schema(description = "管理后台 - 设备报警 Response VO")
@Data
@ExcelIgnoreUnannotated
public class DeviceWarnRespVO {

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

    @Schema(description = "设备id", requiredMode = Schema.RequiredMode.REQUIRED, example = "17273")
    @ExcelProperty("设备id")
    private Long deviceProductId;


    @Schema(description = "报警时间")
    @ExcelProperty("报警时间")
    private LocalDateTime warnTime;

    @Schema(description = "报警信息", example = "你猜")
    @ExcelProperty("描述")
    private String remark;

    @Schema(description = "处理人")
    @ExcelProperty("处理人")
    private String processPerson;

//    @Schema(description = "处理人ID", example = "29853")
//    @ExcelProperty("处理人ID")
//    private String processId;

    @Schema(description = "处理方式", example = "2")
    @ExcelProperty("处理方式")
    private String processType;

    @Schema(description = "处理状态,0-待处理，1-已处理，2-无需处理")
    @ExcelProperty("处理状态")
    private Integer status;

    @Schema(description = "处理时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("处理时间")
    private LocalDateTime processTime;

}
