IPage.java 987 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. package com.happy.dto;
  2. import org.apache.poi.ss.formula.functions.T;
  3. import java.util.List;
  4. public class IPage<T> {
  5. private int page;//页码
  6. private int rows;//行
  7. private int total;//总条数
  8. private int totalPage;//总页数
  9. private List<T> pageList;//分页数据
  10. public int getPage() {
  11. return page;
  12. }
  13. public void setPage(int page) {
  14. this.page = page;
  15. }
  16. public int getRows() {
  17. return rows;
  18. }
  19. public void setRows(int rows) {
  20. this.rows = rows;
  21. }
  22. public int getTotal() {
  23. return total;
  24. }
  25. public void setTotal(int total) {
  26. this.total = total;
  27. }
  28. public int getTotalPage() {
  29. return totalPage;
  30. }
  31. public void setTotalPage(int totalPage) {
  32. this.totalPage = totalPage;
  33. }
  34. public List<T> getPageList() {
  35. return pageList;
  36. }
  37. public void setPageList(List<T> pageList) {
  38. this.pageList = pageList;
  39. }
  40. }