com.magic.db.model.PageModel Maven / Gradle / Ivy
package com.magic.db.model;
import java.io.Serializable;
import java.util.List;
/**
* 分页查询的返回对象
* @param
*/
public class PageModel implements Serializable {
/**
* 当前页
*/
private Integer currentPage;
/**
* 每页大小
*/
private Integer pageSize;
/**
* 总数据条数
*/
private Integer total;
/**
* 总页数
*/
private Integer pageTotal;
/**
* 当前页的数据
*/
private List dataList;
public Integer getCurrentPage() {
return currentPage;
}
public void setCurrentPage(Integer currentPage) {
this.currentPage = currentPage;
}
public Integer getPageSize() {
return pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
}
public Integer getTotal() {
return total;
}
public void setTotal(Integer total) {
this.total = total;
}
public Integer getPageTotal() {
return pageTotal;
}
public void setPageTotal(Integer pageTotal) {
this.pageTotal = pageTotal;
}
public List getDataList() {
return dataList;
}
public void setDataList(List dataList) {
this.dataList = dataList;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy