package com.zhlk.shop.util;
import java.util.List;
/*
* 分页类的分装
*/
public class PageBean<T> {
private int page;//当前页数
private int totalCount;//统计数量
private int totalPage;//总页数
private int limit;//每页显示页数
public int getLimit() {
return limit;
}
public void setLimit(int limit) {
this.limit = limit;
}
private List<T> list;
public int getPage() {
return page;
}
public void setPage(int page) {
this.page = page;
}
public int getTotalCount() {
return totalCount;
}
public void setTotalCount(int totalCount) {
this.totalCount = totalCount;
}
public int getTotalPage() {
return totalPage;
}
public void setTotalPage(int totalPage) {
this.totalPage = totalPage;
}
public List<T> getList() {
return list;
}
public void setList(List<T> list) {
this.list = list;
}
}
分页类的分装