WeCustomerDetail.java
1.8 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
package com.linkwechat.wecom.domain;
import lombok.Builder;
import lombok.Data;
import java.util.Date;
import java.util.List;
/**
* 客户详情
*/
@Data
public class WeCustomerDetail {
//头像
private String avatar;
//客户名称
private String customerName;
//客户类型
private Integer customerType;
//客户标签,多个用逗号隔开
private String tagNames;
//跟进员工
private List<TrackUser> trackUsers;
//所在客群
private List<Groups> groups;
private String commonGroupChat;
private String phone;
private String address;
private int age;
private String qq;
private Date birthday;
private String position;
private String email;
private String corpName;
private String otherDescr;
private List<CompanyOrPersonTag> companyTags;
private List<CompanyOrPersonTag> personTags;
@Data
@Builder
public static class TrackUser {
//添加员工名称
private String userName;
//添加方式
private Integer addMethod;
//添加时间
private Date firstAddTime;
//跟进状态
private Integer trackState;
}
@Data
public static class Groups{
//群id
private String chatId;
//群名
private String groupName;
//加入时间
private Date joinTime;
}
//企业或个人标签
@Data
@Builder
public static class CompanyOrPersonTag{
private String userName;
private String tagsNames;
private String tagIds;
}
@Data
public static class TrackStates{
//跟进人
private String userName;
//跟进状态列表
private List<WeCustomerTrajectory> trackStateList;
}
}