首页>代码>spring boot+Bootstrap-table的使用,列权限控制,表头居中项目实例>/bootstrap-demo/src/main/java/com/example/demo/entity/Pager.java
package com.example.demo.entity;

import java.util.Map;

/**
 * 自定义分页类
 * @author 程就人生
 * @date 2019年9月6日
 */
public class Pager {

	//每页数据条数,默认10条
	private int pageSize = 10;
	//数据总数,默认0
	private int dataCount = 0;
	//当前页数,默认第一页
	private int currentPage = 1;
	//开始条数
	private int limitStart;
	
	//查询条件的封装
	private Map<String,Object> condition;
	
	public int getPageSize() {
		return pageSize;
	}
	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}
	public int getDataCount() {
		return dataCount;
	}
	public void setDataCount(int dataCount) {
		this.dataCount = dataCount;
	}
	public int getCurrentPage() {
		return currentPage;
	}
	public void setCurrentPage(int currentPage) {
		this.currentPage = currentPage;
	}
	public Map<String, Object> getCondition() {
		return condition;
	}
	public void setCondition(Map<String, Object> condition) {
		this.condition = condition;
	}
	public int getLimitStart() {
		return limitStart;
	}
	public void setLimitStart(int limitStart) {
		this.limitStart = limitStart;
	}
}
最近下载更多
zhaoming200677  LV13 4月15日
shuangfu  LV25 2024年5月7日
qhdjod  LV7 2023年4月11日
想个名熬一宿  LV2 2022年4月26日
tj8888  LV5 2022年4月9日
PJ辰天  LV1 2021年12月20日
LHQYYQX  LV1 2021年12月8日
lianghui  LV13 2021年7月7日
a244806065  LV1 2021年5月18日
adminfht  LV1 2021年3月27日
最近浏览更多
zhaoming200677  LV13 4月15日
TY0165  LV20 2024年6月24日
shuangfu  LV25 2024年5月7日
zhujunnan  LV12 2024年3月5日
漫步的海星  LV4 2023年9月26日
neuwxr2015  LV8 2023年8月11日
qhdjod  LV7 2023年4月11日
hesu2020  LV1 2023年3月20日
hellof 2022年10月23日
暂无贡献等级
北斗闪耀星空 2022年5月9日
暂无贡献等级
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友