?? pagebean.java
字號(hào):
package com.accp.dao;
import java.util.*;
public class PageBean {
private int total=0;//記錄總數(shù)
private int pagesize=3;//每頁顯示的記錄條數(shù)
private int pagenum=0;//總頁數(shù)
private int currentpage=1;//當(dāng)前頁數(shù)
private List pagedata=null;//當(dāng)前頁需要顯示的數(shù)據(jù)
public int getCurrentpage() {
return currentpage;
}
public void setCurrentpage(int currentpage) {
this.currentpage = currentpage;
}
public List getPagedata() {
return pagedata;
}
public void setPagedata(List pagedata) {
this.pagedata = pagedata;
}
public int getPagenum() {
return pagenum;
}
public void setPagenum(int pagenum) {
this.pagenum = pagenum;
}
public int getPagesize() {
return pagesize;
}
public void setPagesize(int pagesize) {
this.pagesize = pagesize;
}
public int getTotal() {
return total;
}
public void setTotal(int total) {
this.total = total;
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -