| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- package com.happy.dto;
- import org.apache.poi.ss.formula.functions.T;
- import java.util.List;
- public class IPage<T> {
- private int page;//页码
- private int rows;//行
- private int total;//总条数
- private int totalPage;//总页数
- private List<T> pageList;//分页数据
- public int getPage() {
- return page;
- }
- public void setPage(int page) {
- this.page = page;
- }
- public int getRows() {
- return rows;
- }
- public void setRows(int rows) {
- this.rows = rows;
- }
- public int getTotal() {
- return total;
- }
- public void setTotal(int total) {
- this.total = total;
- }
- public int getTotalPage() {
- return totalPage;
- }
- public void setTotalPage(int totalPage) {
- this.totalPage = totalPage;
- }
- public List<T> getPageList() {
- return pageList;
- }
- public void setPageList(List<T> pageList) {
- this.pageList = pageList;
- }
- }
|