package com.sqx.common.query;

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

/**
 * 分页查询参数
 */
@Data
@ApiModel("分页参数")
public class PageQuery {

    @ApiModelProperty("当前页，默认为1")
    private int page = 1;

    @ApiModelProperty("每页大小，默认为10")
    private int limit = 10;
}
