-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPageBean.java
More file actions
48 lines (37 loc) · 886 Bytes
/
PageBean.java
File metadata and controls
48 lines (37 loc) · 886 Bytes
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
package domain;
public class PageBean {
private int size; // 记录条数
private int row; // 每页展示数目
private int pageSize;// 页面总数
private int current; // 目前页面
public int getCurrent() {
return current;
}
public void setCurrent(int current) {
this.current = current;
}
public PageBean() {
}
public PageBean(int row, int pageSize) {
this.row = row;
this.pageSize = pageSize;
}
public int getRow() {
return row;
}
public void setRow(int row) {
this.row = row;
}
public int getPageSize() {
return pageSize;
}
public void setPageSize(int pageSize) {
this.pageSize = pageSize;
}
public int getSize() {
return size;
}
public void setSize(int size) {
this.size = size;
}
}