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

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;

@Schema(description = "管理后台 - 资料新增/修改 Request VO")
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class IotVideoAlarmSaveReqVO {

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

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

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

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

    @Schema(description = "告警时间")
    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 = "王五")
    @JsonProperty("MPName")
    private String mpName;

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

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

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

    @Schema(description = "业务通道id")
    private String businessChannel;

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

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

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