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
| package com.changhong.autoform.entity.page;
|
| import java.util.List;
|
| /**
| * 分页返回值
| * @author WangYX
| *
| * @param <T>
| */
| public class PageResult<T> {
|
| public PageResult(List<T> list, Long count) {
| super();
| this.list = list;
| this.count = count;
| }
|
| /**
| * 数据集合
| */
| private List<T> list;
|
| /**
| * 数据总条数
| */
| private Long count;
|
| public List<T> getList() {
| return list;
| }
|
| public void setList(List<T> list) {
| this.list = list;
| }
|
| public Long getCount() {
| return count;
| }
|
| public void setCount(Long count) {
| this.count = count;
| }
|
| }
|
|