package com.ssyf.common.core.domain.query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 分页查询参数类
 * @author huwei
 * @date 2022/7/19 21:27
 */
@Data
@Accessors(chain = true)
@ApiModel(value="分页查询参数类")
public class PageQuery extends BaseQuery {

    /**
     * 页码
     */
    @ApiModelProperty(value = "页码",required = false ,example = "1" ,notes = "从1开始，默认1页")
    private Integer pageNum = 1;
    /**
     * 页展示数量
     */
    @ApiModelProperty(value = "页展示数量",required = false ,example = "20" ,notes = "默认20")
    private Integer pageSize = 20;

}
