package com.zksy.visualization.domain.request;

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

import java.util.List;

/**
 * program:java-sdk-demo
 *
 * @Author: 355079
 * @Date:2024-05-07 10:02
 * @Description: 设备通道分页查询请求参数
 */
@Data
public class ChannelPageRequest {

    @ApiModelProperty(value = "当前页，默认1")
    private Integer pageNum = 1;

    @ApiModelProperty(value = "每页记录数，默认10")
    private Integer pageSize = 10;

    @ApiModelProperty(value = "排序属性 支持排序属性：id、updateTime、ownerCode、deviceCode、channelCode、unitType、channelType、cameraType、channelSn")
    private String sort;

    @ApiModelProperty(value = "排序方式：ASC-升序，DESC-降序(默认)")
    private String sortType = "DESC";

    @ApiModelProperty(value = "所属组织编码")
    private String ownerCode;

    @ApiModelProperty(value = "设备编码列表")
    private List<String> deviceCodeList;

    @ApiModelProperty(value = "通道编码列表")
    private List<String> channelCodeList;

    @ApiModelProperty(value = "设备大类")
    private Integer deviceCategory;

    @ApiModelProperty(value = "设备小类,此字段生效，则deviceCategory必填")
    private Integer deviceType;

    @ApiModelProperty(value = "单元类型列表")
    private List<Integer> unitTypeList;

    @ApiModelProperty(value = "通道类型列表")
    private List<Integer> channelTypeList;

    @ApiModelProperty(value = "在线状态")
    private Integer isOnline;

    @ApiModelProperty(value = "是否已经接入")
    private Integer access;

    @ApiModelProperty(value = "是否是虚拟通道")
    private Integer isVirtual;

    @ApiModelProperty(value = "状态")
    private Integer stat;

    @ApiModelProperty(value = "是否包含子节点，默认true，展示下级通道")
    private Boolean includeSubOwnerCodeFlag = true;

}
