首页>代码>java servlet开发企业网站,支持角色权限管理,文章增删改查>/enterprice/src/edu/nuc/projdemo/common/PageControl.java
package edu.nuc.projdemo.common;

/**
 * 分页控制对象
 * @author zw
 */
public class PageControl {
	/**
	 * 当前第几页
	 */
	private Integer currentindex;
	/**
	 * 每页多少行数据(默认每页10行数据)
	 */
	private Integer pagesize = 10;
	/**
	 * 总记录数
	 */
	private Integer rscount;
	
	/**
	 * 总页数
	 */
	private Integer pagecount;
	/**
	 * 分页控件一次显示多少页(默认一次5页)
	 */
	private Integer showpcount = 5;
	/**
	 * 当前分页控件显示的最大页数
	 */
	private Integer maxpage;
	
	/**
	 * 当前分页控件显示的最小页数
	 */
	private Integer minpage;
	
	
	public Integer getCurrentindex() {
		return currentindex;
	}
	public void setCurrentindex(Integer currentindex) {
		this.currentindex = currentindex;
	}
	public Integer getPagesize() {
		return pagesize;
	}
	public void setPagesize(Integer pagesize) {
		this.pagesize = pagesize;
	}
	public Integer getRscount() {
		return rscount;
	}
	public void setRscount(Integer rscount) {
		this.rscount = rscount;
	}
	public Integer getPagecount() {
		return pagecount;
	}
	public void setPagecount(Integer pagecount) {
		this.pagecount = pagecount;
	}
	public Integer getShowpcount() {
		return showpcount;
	}
	public void setShowpcount(Integer showpcount) {
		this.showpcount = showpcount;
	}
	public Integer getMaxpage() {
		return maxpage;
	}
	public void setMaxpage(Integer maxpage) {
		this.maxpage = maxpage;
	}
	public Integer getMinpage() {
		return minpage;
	}
	public void setMinpage(Integer minpage) {
		this.minpage = minpage;
	}
}
最近下载更多
求学的熊猫  LV11 2024年9月9日
2036495585  LV9 2023年9月26日
2063066273  LV2 2023年6月14日
xiaoying0820  LV1 2023年3月24日
liu2022  LV14 2022年7月31日
wanggongzi  LV1 2022年5月27日
www-chrome  LV6 2022年5月5日
zzz112  LV1 2022年4月21日
微信网友_5910834400677888  LV1 2022年4月10日
土豆侠  LV1 2022年3月2日
最近浏览更多
renjunyou  LV10 6月2日
微信网友_7290996505972736  LV4 2024年12月11日
求学的熊猫  LV11 2024年9月9日
ma406805131  LV19 2024年6月15日
孙纪龙啊  LV10 2024年4月20日
微信网友_6446523832586240  LV1 2024年2月29日
asddwh  LV13 2023年12月25日
颜菜菜  LV2 2023年12月19日
15234568145  LV1 2023年12月5日
bubian 2023年11月12日
暂无贡献等级
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友