package com.zksy.visualization.domain.request;

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

import java.util.List;

/**
 * @author Administrator
 * @version 1.0
 * @project dh-server-micro
 * @description 设备分页查询
 * @date 2024/12/23 14:31:46
 */
@Data
public class DevicePageRequest {
    @ApiModelProperty(value = "当前页，默认1", example = "1")
    private Integer pageNum;

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

    @ApiModelProperty(value = "设备所属组织编码集合")
    private List<String> ownerCodes;

    @ApiModelProperty(value = "是否包含子节点设备，0-不包含，1-包含", example = "1")
    private Integer showChildNodeData;

    @ApiModelProperty(value = "设备大类")
    private List<Integer> categorys;

    @ApiModelProperty(value = "设备小类, 设备小类的格式是:大类_小类，categorys与types同时存在时，此字段无效")
    private List<String> types;

    @ApiModelProperty(value = "设备编码列表，最大支持500个")
    private List<String> deviceCodes;

    @ApiModelProperty(value = "设备标识码列表，最大支持500个")
    private List<String> deviceSns;

    @ApiModelProperty(value = "设备地址，最大支持500个")
    private List<String> deviceIps;

    @ApiModelProperty(value = "在线状态，0-离线，1-在线", example = "1")
    private Integer isOnline;

    @ApiModelProperty(value = "是否获取虚拟设备，0-获取非虚拟设备，1-只获取虚拟设备", example = "0")
    private Integer syncVirtualData;
}
