⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pagebean.java

📁 分页 一个javabean 分页
💻 JAVA
字号:
package net.page;
/**
 * 
 * @author jfish
 * 处理分页页面pagelist.jsp
 */
public class PageBean {
	public int currPage; // 当前页数

	public int totalPages; // 总页数

	public int totalRows; // 总行数

	public int rowsPerPage; // 每页行数

	public java.util.List data; // 每页数据集合

	public int getCurrPage() {
		return currPage;
	}

	public void setCurrPage(int currPage) {
		this.currPage = currPage;
	}

	public java.util.List getData() {
		return data;
	}

	public void setData(java.util.List data) {
		this.data = data;
	}

	public int getRowsPerPage() {
		return rowsPerPage;
	}

	public void setRowsPerPage(int rowsPerPage) {
		this.rowsPerPage = rowsPerPage;
	}

	public int getTotalPages() {
		return totalPages;
	}

	public void setTotalPages(int totalPages) {
		this.totalPages = totalPages;
	}

	public int getTotalRows() {
		return totalRows;
	}

	public void setTotalRows(int totalRows) {
		this.totalRows = totalRows;
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -