com.kukababy.plus.pager.Page Maven / Gradle / Ivy
The newest version!
package com.kukababy.plus.pager;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
/**
*
* 描述:
*
* @author [email protected]
* @date 2019年3月5日 下午10:45:45
* @param
*/
public class Page implements Serializable {
private static final long serialVersionUID = 1L;
private int total = 0;// 总记录数
private int currPage = 0;
private int pageSize = 0;
private List rows = new ArrayList();// 对应的当前页记录
/**
* @return the total
*/
public int getTotal() {
return total;
}
/**
* @param total the total to set
*/
public void setTotal(int total) {
this.total = total;
}
/**
* @return the currPage
*/
public int getCurrPage() {
return currPage;
}
/**
* @param currPage the currPage to set
*/
public void setCurrPage(int currPage) {
this.currPage = currPage;
}
/**
* @return the pageSize
*/
public int getPageSize() {
return pageSize;
}
/**
* @param pageSize the pageSize to set
*/
public void setPageSize(int pageSize) {
this.pageSize = pageSize;
}
/**
* @return the rows
*/
public List getRows() {
return rows;
}
/**
* @param rows the rows to set
*/
public void setRows(List rows) {
this.rows = rows;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy