📄 pagebean.java
字号:
package bit.jeffy.bean;
import java.util.List;
public class PageBean {
private String queryString;
private Object values[];
private int recordsPerPage;
private int currentPage;
private int totalPage;
private long totalRecords;
private boolean needSplitPage;
private List content;
public PageBean() {
recordsPerPage = 20;
currentPage = 1;
totalRecords = -1;
needSplitPage = true;
}
public List getContent() {
return content;
}
public void setContent(List content) {
this.content = content;
}
public int getCurrentPage() {
return currentPage;
}
public void setCurrentPage(int currentPage) {
this.currentPage = currentPage;
}
public String getQueryString() {
return queryString;
}
public void setQueryString(String queryString) {
this.queryString = queryString;
}
public int getRecordsPerPage() {
return recordsPerPage;
}
public void setRecordsPerPage(int recordsPerPage) {
this.recordsPerPage = recordsPerPage;
}
public int getTotalPage() {
return totalPage;
}
public void setTotalPage(int totalPage) {
this.totalPage = totalPage;
}
public long getTotalRecords() {
return totalRecords;
}
public void setTotalRecords(long totalRecords) {
this.totalRecords = totalRecords;
}
public Object[] getValues() {
return values;
}
public void setValues(Object[] values) {
this.values = values;
}
public boolean isNeedSplitPage() {
return needSplitPage;
}
public void setNeedSplitPage(boolean needSplitPage) {
this.needSplitPage = needSplitPage;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -