package net.lamp.blog.common;
/**
 * 分页处理类:
 * 
 * @author zhaoxinguo
 * 
 */
public class PageRoll {
	
	private Integer currPage = 1;
	private Integer pageSize = 3;
	private Integer countSize = 0;
	private Integer countPage = 0;
	private Integer pageCode = 5;
	private String whereClause = "";
	/**
	 * @return the whereClause
	 */
	public String getWhereClause() {
		return whereClause;
	}
	/**
	 * @param whereClause
	 * the whereClause to set
	 */
	public void setWhereClause(String whereClause) {
		this.whereClause = whereClause;
	}
	/**
	 * @return the currPage
	 */
	public Integer getCurrPage() {
		return currPage;
	}
	/**
	 * @param currPage
	 *            the currPage to set
	 */
	public void setCurrPage(Integer currPage) {
		this.currPage = currPage;
	}
	/**
	 * @return the pageSize
	 */
	public Integer getPageSize() {
		return pageSize;
	}
	/**
	 * @param pageSize
	 *            the pageSize to set
	 */
	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}
	/**
	 * @return the countSize
	 */
	public Integer getCountSize() {
		return countSize;
	}
	/**
	 * @param countSize
	 *            the countSize to set
	 */
	public void setCountSize(Integer countSize) {
		this.countSize = countSize;
	}
	/**
	 * @return the countPage
	 */
	public Integer getCountPage() {
		if (countSize > 0) {
			if (countSize % pageSize == 0) {
				countPage = countSize / pageSize;
			} else {
				countPage = countSize / pageSize + 1;
			}
		}
		return countPage;
	}
	/**
	 * @param countPage
	 *            the countPage to set
	 */
	public void setCountPage(Integer countPage) {
		this.countPage = countPage;
	}
	/**
	 * @return the pageCode
	 */
	public Integer getPageCode() {
		return pageCode;
	}
	/**
	 * @param pageCode
	 *            the pageCode to set
	 */
	public void setPageCode(Integer pageCode) {
		this.pageCode = pageCode;
	}
}
最近下载更多
                
                cheung524071     LV8
                2023年8月23日
            
            
        
                你们的代码都是我的了     LV16
                2022年12月5日
            
            
        
                SQ2930501923     LV14
                2022年10月14日
            
            
        
                你好呀123456     LV1
                2022年10月13日
            
            
        
                bafjkdnvgj     LV1
                2022年6月26日
            
            
        
                微信网友_5944522042150912     LV1
                2022年5月4日
            
            
        
                dxp0216     LV1
                2021年8月31日
            
            
        
                蔡     LV10
                2021年6月12日
            
            
        
                万分史密斯     LV1
                2021年6月12日
            
            
        
                云生123456     LV6
                2021年6月8日
            
            
        
最近浏览更多
                
                Eddie233     LV6
                2024年8月28日
            
            
        
                lilitu     LV6
                2024年5月29日
            
            
        
                pangzhihui     LV14
                2023年12月23日
            
            
        
                cheung524071     LV8
                2023年8月23日
            
            
        
                wanglongfei2     LV2
                2023年6月15日
            
            
        
                mishidelu    
                2023年5月28日
            
            
                    暂无贡献等级
            
        
                微信网友_6488247163490304     LV1
                2023年5月23日
            
            
        
                tang0209     LV1
                2023年5月15日
            
            
        
                information     LV2
                2023年4月27日
            
            
        
                yubuzhuo     LV2
                2023年2月27日
            
            
        
                
    
                