SecretReportHistoryVO.java
1.53 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
package cn.fw.valhalla.domain.vo;
import cn.fw.valhalla.domain.enums.CallTypeEnum;
import lombok.Data;
import java.util.Date;
import java.util.Objects;
/**
* @author : kurisu
* @className : SecretReportHistoryVO
* @description : 智能通话池
* @date: 2021-02-21 15:40
*/
@Data
public class SecretReportHistoryVO {
private Long id;
/**
* 任务id
*/
private Long taskId;
/**
* 跟进类型
*/
private Integer followType;
/**
* 跟进id
*/
private Long followRecordId;
/**
* 是否首次通话(针对跟进任务来说)
*/
private Boolean firstCall;
/**
* 通话id
*/
private String callId;
/**
* 工作人员id
*/
private Long staffId;
/**
* 工作人员名称
*/
private String staffName;
/**
* 客户id
*/
private Long customerId;
/**
* 客户名称
*/
private String customerName;
/**
* 车牌号
*/
private String plateNo;
/**
* 呼叫类型
*/
private CallTypeEnum callType;
/**
* 呼叫时间
*/
private Date callTime;
/**
* 通话时长
*/
private Long callDuration;
/**
* 门店id
*/
private Long shopId;
/**
* 门店名称
*/
private String shopName;
/**
* 集团id
*/
private Long groupId;
public String getCallTypeDesc() {
if (Objects.isNull(callType)) {
return null;
}
return callType.getName();
}
}