潘志宝
2025-03-12 fcc5791b5d0d03e346896800fbbc51994a93a32a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
package com.iailab.sdk.auth.client.common.pojo;
 
import java.io.Serializable;
 
/**
 * 分页参数
 */
public class PageParam implements Serializable {
 
    private static final Integer PAGE_NO = 1;
    private static final Integer PAGE_SIZE = 10;
 
    /**
     * 每页条数 - 不分页
     *
     * 例如说,导出接口,可以设置 {@link #pageSize} 为 -1 不分页,查询所有数据。
     */
    public static final Integer PAGE_SIZE_NONE = -1;
 
    private Integer pageNo = PAGE_NO;
 
    private Integer pageSize = PAGE_SIZE;
 
    public Integer getPageNo() {
        return pageNo;
    }
 
    public void setPageNo(Integer pageNo) {
        this.pageNo = pageNo;
    }
 
    public Integer getPageSize() {
        return pageSize;
    }
 
    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
}