You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
898 B
48 lines
898 B
5 years ago
|
package model;
|
||
|
|
||
|
import java.util.List;
|
||
|
|
||
|
public class PageBean<T> {
|
||
|
private int currPage;//当前页
|
||
|
private int pageSize;//每页记录数
|
||
|
private int totalCount;//总记录数
|
||
|
private int totalPage;//总页数
|
||
|
List<T> list;//每页显示的数据
|
||
|
|
||
|
public PageBean() {
|
||
|
}
|
||
|
public int getCurrPage() {
|
||
|
return currPage;
|
||
|
}
|
||
|
public void setCurrPage(int currPage) {
|
||
|
this.currPage = currPage;
|
||
|
}
|
||
|
public int getPageSize() {
|
||
|
return pageSize;
|
||
|
}
|
||
|
public void setPageSize(int pageSize) {
|
||
|
this.pageSize = pageSize;
|
||
|
}
|
||
|
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;
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
}
|