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 IotVideoAlarmRespVO {

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

    @Schema(description = "IP地址")
    @ExcelProperty("IP地址")
    private String ipAddress;

    @Schema(description = "端口")
    @ExcelProperty("端口")
    private String portNo;

    @Schema(description = "协议")
    @ExcelProperty("协议")
    private String protocol;

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

    @Schema(description = "同一告警已经上传的次数", example = "26669")
    @ExcelProperty("同一告警已经上传的次数")
    private Integer activePostCount;

    @Schema(description = "触发报警的预置点号")
    @ExcelProperty("触发报警的预置点号")
    private String presetNo;

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

    @Schema(description = "事件状态")
    @ExcelProperty("事件状态")
    private String eventState;

    @Schema(description = "告警描述", example = "随便")
    @ExcelProperty("告警描述")
    private String eventDescription;

    @Schema(description = "告警截图", example = "https://www.iocoder.cn")
    @ExcelProperty("告警截图")
    private String url;

    @Schema(description = "模型包", example = "王五")
    @ExcelProperty("模型包")
    private String mpName;

    @Schema(description = "设备id", example = "11119")
    @ExcelProperty("设备id")
    private String deviceId;

    @Schema(description = "视频任务id", example = "25387")
    @ExcelProperty("视频任务id")
    private String taskId;

    @Schema(description = "通道id", example = "16427")
    @ExcelProperty("通道id")
    private String channelId;

    @Schema(description = "通道名称", example = "赵六")
    @ExcelProperty("通道名称")
    private String channelName;

    @Schema(description = "传输通信协议类型", example = "1")
    @ExcelProperty("传输通信协议类型")
    private String protocolType;

    @Schema(description = "子设备局部标识", example = "29919")
    @ExcelProperty("子设备局部标识")
    private String childDevId;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    private String businessChannel;
    private String imageUrl;

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