All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.phoenix.basic.paging.Pager Maven / Gradle / Ivy

Go to download

对hibernate4的封装。封装了Druid,通过Druid可以轻量级的对其他数据库进行操作

There is a newer version: 1.5.1
Show newest version
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