Update CommonPage.java
This commit is contained in:
parent
dfaf43e775
commit
8c15f7d88f
@ -10,10 +10,25 @@ import java.util.List;
|
|||||||
* Created by macro on 2019/4/19.
|
* Created by macro on 2019/4/19.
|
||||||
*/
|
*/
|
||||||
public class CommonPage<T> {
|
public class CommonPage<T> {
|
||||||
|
/**
|
||||||
|
* 当前页码
|
||||||
|
*/
|
||||||
private Integer pageNum;
|
private Integer pageNum;
|
||||||
|
/**
|
||||||
|
* 每页数量
|
||||||
|
*/
|
||||||
private Integer pageSize;
|
private Integer pageSize;
|
||||||
|
/**
|
||||||
|
* 总页数
|
||||||
|
*/
|
||||||
private Integer totalPage;
|
private Integer totalPage;
|
||||||
|
/**
|
||||||
|
* 总条数
|
||||||
|
*/
|
||||||
private Long total;
|
private Long total;
|
||||||
|
/**
|
||||||
|
* 分页数据
|
||||||
|
*/
|
||||||
private List<T> list;
|
private List<T> list;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user