org.phoenix.basic.paging.Pager Maven / Gradle / Ivy
package org.phoenix.basic.paging;
import java.util.List;
/**
* 分页对象
* @author Administrator
*
*/
public class Pager {
/**
* 分页的大小
*/
private int size;
/**
* 分页的起始页
*/
private int offset;
/**
* 总记录数
*/
private long total;
/**
* 分页的数据
*/
private List datas;
public int getSize() {
return size;
}
public void setSize(int size) {
this.size = size;
}
public int getOffset() {
return offset;
}
public void setOffset(int offset) {
this.offset = offset;
}
public long getTotal() {
return total;
}
public void setTotal(long total) {
this.total = total;
}
public List getDatas() {
return datas;
}
public void setDatas(List datas) {
this.datas = datas;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy