PageBean.java
931 字节
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
package com.espeed.vo;
/**
* 这是分页对象
* @author student
*
*/
public class PageBean {
//总记录数
private int totalRecord;
//总页数
private int totalPage;
//当前页数
private int currentPage=1;
//每页显示记录数
private int pageSize=5;
//URI
private String uri;
public int getTotalRecord() {
return totalRecord;
}
public void setTotalRecord(int totalRecord) {
this.totalRecord = totalRecord;
}
public int getTotalPage() {
return totalPage;
}
public void setTotalPage(int totalPage) {
this.totalPage = totalPage;
}
public int getCurrentPage() {
return currentPage;
}
public void setCurrentPage(int currentPage) {
this.currentPage = currentPage;
}
public int getPageSize() {
return pageSize;
}
public void setPageSize(int pageSize) {
this.pageSize = pageSize;
}
public String getUri() {
return uri;
}
public void setUri(String uri) {
this.uri = uri;
}
}