package com.zksy.visualization.domain.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "查询普通录像信息列表请求参数")
public class VideoRecordQueryListRequest {

    @ApiModelProperty(value = "Json对象", required = true)
    private Data data;

    @lombok.Data
    public static class Data {
        @ApiModelProperty(value = "视频通道编码，第一个$后数字代表通道类型，必须是1", required = true)
        private String channelId;

        @ApiModelProperty(value = "录像来源：1=全部，2=设备，3=中心", required = true, allowableValues = "1,2,3")
        private String recordSource;

        @ApiModelProperty(value = "开始时间(时间戳：单位秒)", required = true)
        private String startTime;

        @ApiModelProperty(value = "结束时间(时间戳：单位秒)", required = true)
        private String endTime;

        @ApiModelProperty(value = "码流类型：0=所有码流，1=主码流， 2=辅码流，3=辅码流2", required = true, allowableValues = "0,1,2,3")
        private String streamType;

        @ApiModelProperty(value = "录像类型：0=全部录像", required = true, allowableValues = "0")
        private String recordType;
    }
}