com.kukababy.plus.pager.Pager Maven / Gradle / Ivy
package com.kukababy.plus.pager;
import java.io.Serializable;
import java.util.List;
import com.kukababy.plus.utils.Constant;
/**
*
* 描述:
*
* @author [email protected]
* @date 2019年3月5日 下午10:45:53
*/
public class Pager implements Serializable {
/**
*
*/
private static final long serialVersionUID = 1L;
private int total = 0;// 总记录数
private int currPage = 0;
private int pageSize = Constant.PageSize;
private SqlFilter sqlFilter = new SqlFilter();
/**
* @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 sqlFilter
*/
public SqlFilter getSqlFilter() {
return sqlFilter;
}
/**
* @param sqlFilter
* the sqlFilter to set
*/
public void setSqlFilter(SqlFilter sqlFilter) {
this.sqlFilter = sqlFilter;
}
}