package cn.iocoder.yudao.module.pms.controller.admin.alarm.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 资料分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class IotVideoAlarmPageReqVO extends PageParam {

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

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

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

    @Schema(description = "告警时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private String[] dateTime;

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

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

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

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

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

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

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

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

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

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

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

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

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

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    private String businessChannel;
}