提交 | 用户 | age
|
4fd200
|
1 |
package com.hz.phis.vo.returnVisitRecord; |
c4454c
|
2 |
|
R |
3 |
import com.hx.util.MapUtil; |
|
4 |
import lombok.Data; |
|
5 |
|
3ed9f0
|
6 |
import java.util.ArrayList; |
C |
7 |
import java.util.List; |
c4454c
|
8 |
import java.util.Map; |
R |
9 |
|
|
10 |
|
|
11 |
/**回访列表子项数据 |
4fd200
|
12 |
* @author CJH |
c4454c
|
13 |
*/ |
R |
14 |
@Data |
4fd200
|
15 |
public class ReturnVisitListItemVo { |
c4454c
|
16 |
|
R |
17 |
/*** 超时状态 0未超时 1已超时**/ |
|
18 |
private Integer timeoutStatus; |
|
19 |
/*** 回访状态 0未回访 1已回访**/ |
|
20 |
private Integer returnVisitStatus; |
3ed9f0
|
21 |
|
c4454c
|
22 |
/*** 门店ID */ |
R |
23 |
private String shopId; |
|
24 |
/*** 门店名称 */ |
|
25 |
private String shopName; |
3ed9f0
|
26 |
|
c4454c
|
27 |
/*** 回访类型 字典id */ |
R |
28 |
private String returnVisitType; |
|
29 |
/*** 回访类型名称*/ |
|
30 |
private String returnVisitTypeName; |
3ed9f0
|
31 |
|
C |
32 |
/**回访方式 字典id*/ |
|
33 |
private String returnVisitMethod; |
|
34 |
/**回访方式名称*/ |
|
35 |
private String returnVisitMethodName; |
|
36 |
|
c4454c
|
37 |
/*** 回访结果 0 未知 1回访成功 2回访失败**/ |
R |
38 |
private Integer visitResultStatus; |
|
39 |
/*** 回访是否满意 0 未知 1满意 2不满意**/ |
|
40 |
private Integer satisfiedStatus; |
3ed9f0
|
41 |
|
c4454c
|
42 |
/*** 回访人名称**/ |
3ed9f0
|
43 |
private String corpName; |
c4454c
|
44 |
/*** 回访人id**/ |
3ed9f0
|
45 |
private String corpId; |
C |
46 |
|
c4454c
|
47 |
/*** 回访详情**/ |
R |
48 |
private String content; |
|
49 |
/*** 回访备注**/ |
|
50 |
private String remark; |
4fd200
|
51 |
/*** 回访记录标识 **/ |
c4454c
|
52 |
private String id; |
3ed9f0
|
53 |
|
C |
54 |
/**创建人*/ |
c4454c
|
55 |
private String createPersonName; |
R |
56 |
|
3ed9f0
|
57 |
private List<ReturnVisitListItemProjectVo> projectList = new ArrayList<>(); |
c4454c
|
58 |
|
4fd200
|
59 |
public ReturnVisitListItemVo() { |
c4454c
|
60 |
} |
R |
61 |
|
4fd200
|
62 |
public ReturnVisitListItemVo(Map<String,Object> visitRecord) { |
c4454c
|
63 |
this.id = visitRecord.get("id").toString(); |
R |
64 |
this.timeoutStatus = MapUtil.getInt(visitRecord,"timeoutStatus"); |
|
65 |
this.returnVisitStatus = MapUtil.getInt(visitRecord,"returnVisitStatus"); |
|
66 |
this.shopId = MapUtil.getString(visitRecord,"shopId"); |
|
67 |
this.shopName = MapUtil.getString(visitRecord,"shopName"); |
|
68 |
this.returnVisitType = MapUtil.getString(visitRecord,"returnVisitType"); |
|
69 |
this.returnVisitTypeName = MapUtil.getString(visitRecord,"returnVisitTypeName"); |
|
70 |
this.visitResultStatus = MapUtil.getInt(visitRecord,"visitResultStatus"); |
|
71 |
this.satisfiedStatus = MapUtil.getInt(visitRecord,"satisfiedStatus"); |
3ed9f0
|
72 |
this.corpName = MapUtil.getString(visitRecord,"corpName"); |
C |
73 |
this.corpId = MapUtil.getString(visitRecord,"corpId");; |
c4454c
|
74 |
this.content = MapUtil.getString(visitRecord,"content"); |
R |
75 |
this.remark = MapUtil.getString(visitRecord,"remark"); |
|
76 |
this.createPersonName = MapUtil.getString(visitRecord,"createPersonName");; |
|
77 |
} |
|
78 |
} |
|
79 |
|