www.pudn.com > restrant.zip > PageEntity.java, change:2014-03-06,size:1033b


package com.alex.restrantol.entity; 
/** 
 * 泛型通用分页page类 
 * auther  Babylon 
 * mail 214750838@qq.com 
 * time 2014-03-06  
 */ 
 
import java.util.List; 
 
public class PageEntity { 
	private int currentPage; 
	private int countPerPage=5; 
	private int countAllPage; 
	private int totalCount; 
	private List list; 
	public int getCurrentPage() { 
		return currentPage; 
	} 
	public void setCurrentPage(int currentPage) { 
		this.currentPage = currentPage; 
	} 
	public int getCountPerPage() { 
		return countPerPage; 
	} 
	public void setCountPerPage(int countPerPage) { 
		this.countPerPage = countPerPage; 
	} 
	public int getCountAllPage() { 
		return countAllPage; 
	} 
	public void setCountAllPage(int countAllPage) { 
		this.countAllPage = countAllPage; 
	} 
	public int getTotalCount() { 
		return totalCount; 
	} 
	public void setTotalCount(int totalCount) { 
		this.totalCount = totalCount; 
	} 
	public List getList() { 
		return list; 
	} 
	public void setList(List list) { 
		this.list = list; 
	} 
	 
}