package com.zksy.visualization.domain.request;

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

import javax.validation.constraints.Size;
import java.util.List;

/**
 * @author Administrator
 * @version 1.0
 * @project dh-server-micro
 * @description 分页查询消防部件信息
 * @date 2024/12/19 15:28:48
 */
@Data
public class FirefightingComponentsRequest {
    @ApiModelProperty(value = "当前页，默认1")
    private Integer pageNum = 1;

    @ApiModelProperty(value = "每页记录数，默认10，最多50")
    @Size(max = 50, message = "每页记录数最多为50")
    private Integer pageSize = 10;

    @ApiModelProperty(value = "设备所属组织编码集合，最多10个")
    @Size(max = 10, message = "设备所属组织编码集合最多包含10个编码")
    private List<String> orgCodes;

    @ApiModelProperty(value = "探测器类型")
    private String typeCode;

    @ApiModelProperty(value = "设备名称/设备编号/imei")
    private String keyCondition;
}
