以下是PageHelper中默认PageInfo的成员变量,方便以后自己使用
-
- private int pageNum;
-
- private int pageSize;
-
- private int size;
-
-
-
-
- private int startRow;
-
- private int endRow;
-
- private long total;
-
- private int pages;
-
- private List<T> list;
-
-
- private int firstPage;
-
- private int prePage;
-
-
- private boolean isFirstPage = false;
-
- private boolean isLastPage = false;
-
- private boolean hasPreviousPage = false;
-
- private boolean hasNextPage = false;
-
- private int navigatePages;
-
- private int[] navigatepageNums;