提交 | 用户 | age
|
c099d4
|
1 |
package com.hz.his.vo.compare; |
C |
2 |
|
|
3 |
import lombok.Data; |
|
4 |
|
|
5 |
/** |
|
6 |
* 对比照列表实体 |
|
7 |
*/ |
|
8 |
@Data |
|
9 |
public class CompareListVo { |
|
10 |
|
|
11 |
/**当前页数*/ |
|
12 |
private Integer pageNum; |
|
13 |
/**当前页显示条数*/ |
|
14 |
private Integer pageSize; |
|
15 |
|
|
16 |
/**对比照标识*/ |
|
17 |
private String id; |
|
18 |
/**用户标识*/ |
|
19 |
private String userId; |
|
20 |
/**項目标识*/ |
|
21 |
private String projectId; |
|
22 |
/**項目名称*/ |
|
23 |
private String projectName; |
|
24 |
|
|
25 |
/**用户項目标识*/ |
|
26 |
private String userProjectItemId; |
|
27 |
|
|
28 |
|
|
29 |
|
|
30 |
public Integer getPageNum() { |
|
31 |
if(pageNum == null){ |
|
32 |
pageNum = 1; |
|
33 |
} |
|
34 |
return pageNum; |
|
35 |
} |
|
36 |
|
|
37 |
public void setPageNum(Integer pageNum) { |
|
38 |
this.pageNum = pageNum; |
|
39 |
} |
|
40 |
|
|
41 |
public Integer getPageSize() { |
|
42 |
if(pageSize == null || pageSize > 500){ |
|
43 |
pageSize = 20; |
|
44 |
} |
|
45 |
return pageSize; |
|
46 |
} |
|
47 |
|
|
48 |
public void setPageSize(Integer pageSize) { |
|
49 |
this.pageSize = pageSize; |
|
50 |
} |
|
51 |
} |