content: package dao;
  
  import java.util.List;
  
  @SuppressWarnings("rawtypes")
  public class PageSelect {
  	private long count; // ܼ¼
  	private int pagecount; // ҳ
  	private int pagenow = 1; // ǰҳ
      private boolean change=false;
  	private int size = 5; // ÿҳ¼
  	private String search;
  
  	public String getSearch() {
  		return search;
  	}
  
  	public void setSearch(String search) {
  		this.search = search;
  	}
  
  	private List list; // ǰҳ¼
  
  	// ԵGetterSetter
  	public long getCount() {
  		return count;
  	}
  
  	public void setCount(long count) {
  		this.count = count;
  	}
  
  	public int getPagecount() {
  		return pagecount;
  	}
  
  	public void setPagecount(int pagecount) {
  		this.pagecount = pagecount;
  	}
  
  	public int getPagenow() {
  		return pagenow;
  	}
  
  	public void setPagenow(int pagenow) {
  		this.pagenow = pagenow;
  	}
  
  	public void pagemore() {
  		if (pagenow < pagecount) {
  			pagenow++;
  		}
  	}
  
  	public void pageless() {
  		if (pagenow > 1) {
  			pagenow--;
  		}
  	}
  
  	public int getSize() {
  		return size;
  	}
  
  	public void setSize(int size) {
  		this.size = size;
  	}
  
  	public List getList() {
  		return list;
  	}
  
  	public void setList(List list) {
  		this.list = list;
  	}
  
  	public boolean isChange() {
  		return change;
  	}
  
  	public void setChange(boolean change) {
  		this.change = change;
  	}
  	
  
  }
  