标签:
package com.bms.book.entity;
import java.util.List;
public class PageBean {
private Integer totalRecords;
private Integer totalPages;
private Integer pageSize;
private Integer currentPage;
private List<?> list;
public PageBean() {
this.currentPage=getCurrentPage()>0?getCurrentPage():1;
this.pageSize=2;
}
public Integer getTotalRecords() {
return totalRecords;
}
public void setTotalRecords(Integer totalRecords) {
this.totalRecords = totalRecords;
}
public Integer getTotalPages() {
return totalPages;
}
public void setTotalPages(Integer totalPages) {
this.totalPages = totalPages;
}
public Integer getPageSize() {
return pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
}
public Integer getCurrentPage() {
return currentPage;
}
public void setCurrentPage(Integer currentPage) {
this.currentPage = currentPage;
}
public List<?> getList() {
return list;
}
public void setList(List<?> list) {
this.list = list;
}
}
标签:
原文地址:http://www.cnblogs.com/yang-32/p/5703563.html