package com.zksy.visualization.domain.request;

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

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * @author Administrator
 * @version 1.0
 * @project dh-server-micro
 * @description 动环管理-通道子类型分页查询
 * @date 2024/12/19 16:21:38
 */
@Data
public class ChannelSubtypeRequest {
    @ApiModelProperty(value = "页码，从1开始", required = true)
    @NotNull(message = "页码不能为空")
    @Min(value = 1, message = "页码必须从1开始")
    private Integer pageNo;

    @ApiModelProperty(value = "分页大小，最大1000", required = true)
    @NotNull(message = "分页大小不能为空")
    @Size(max = 1000, message = "分页大小最大为1000")
    private Integer pageSize;

    @ApiModelProperty(value = "设备名称模糊搜索")
    private String searchKey;
}
