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/12 16:46:48
 */
@Data
public class AirConditionerRequest {
    @ApiModelProperty(value = "查询方式 0图表 1列表", required = true, example = "1")
    private int choseMethod;

    @ApiModelProperty(value = "空调状态，0离线 1开机 2关机 3全部", required = true, example = "3")
    private int status;

    @ApiModelProperty(value = "0：<系统配置设置时间，1：>=系统配置设置时间 2：全部", required = true, example = "2")
    private int useTimeStatus;

    @ApiModelProperty(value = "设定温度 0：16度至系统配置设置温度，1：系统配置设置温度至32度 2全部", required = true, example = "2")
    private int temperatureStatus;

    @ApiModelProperty(value = "模式：0-自动，1-制冷，2-制热，3-通风，4-除湿", example = "0")
    private Integer model;

    @ApiModelProperty(value = "风速 0-自动，1-低速，2-中速，3-高速", example = "0")
    private Integer windSpeed;

    @ApiModelProperty(value = "排序字段 已开时长：USE_TIME，温度：TEMPERATURE", required = true, example = "USE_TIME")
    private String sortName;

    @ApiModelProperty(value = "排序方式：true 升序，false 降序 默认true", required = true, example = "true")
    private Boolean sortFlag;

    @ApiModelProperty(value = "当前页码，默认1", required = true, example = "1")
    private int pageNum;

    @ApiModelProperty(value = "每页数量，默认10", required = true, example = "10")
    private int pageSize;

    @ApiModelProperty(value = "组织编码集合", required = true)
    private List<String> orgCodeList;

    @ApiModelProperty(value = "挂靠在根节点下的设备信息")
    private List<String> deviceCodeList;

    @ApiModelProperty(value = "用户勾选的空调通道信息，若传入了该参数，则该通道所属的设备编码不应在deviceCodeList下", required = true)
    private List<String> checkChannelCodeList;
}
