PageResult.java
660 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
package com.objecteye.entity;
import java.io.Serializable;
import java.util.List;
public class PageResult<T> implements Serializable {
private static final long serialVersionUID = 3161527748709808462L;
private long total;
private List<T> row;
public PageResult() {
}
public PageResult(long total, List<T> row) {
this.total = total;
this.row = row;
}
public long gettotal() {
return total;
}
public void settotal(int total) {
this.total = total;
}
public List<T> getRow() {
return row;
}
public void setRow(List<T> row) {
this.row = row;
}
}