forked from binarywang/WxJava
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathWxCpUserDetail.java
More file actions
58 lines (47 loc) · 1.34 KB
/
WxCpUserDetail.java
File metadata and controls
58 lines (47 loc) · 1.34 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
package me.chanjar.weixin.cp.bean;
import com.google.gson.annotations.SerializedName;
import lombok.Data;
import java.io.Serializable;
/**
* <pre>
* 使用user_ticket获取成员详情接口返回类.
* Created by BinaryWang on 2018/4/22.
* 官方文档:https://developer.work.weixin.qq.com/document/path/91122
* </pre>
*
* @author <a href="https://github.com/binarywang">Binary Wang</a>
*/
@Data
public class WxCpUserDetail implements Serializable {
private static final long serialVersionUID = -4301684507150486556L;
/**
* 成员UserID
*/
@SerializedName("userid")
private String userId;
/**
* 成员姓名
*/
private String name;
/**
* 成员手机号,仅在用户同意snsapi_privateinfo授权时返回
*/
private String mobile;
/**
* 性别。0表示未定义,1表示男性,2表示女性
*/
private String gender;
/**
* 成员邮箱,仅在用户同意snsapi_privateinfo授权时返回
*/
private String email;
/**
* 头像url。注:如果要获取小图将url最后的”/0”改成”/100”即可。仅在用户同意snsapi_privateinfo授权时返回
*/
private String avatar;
/**
* 员工个人二维码(扫描可添加为外部联系人),仅在用户同意snsapi_privateinfo授权时返回
*/
@SerializedName("qr_code")
private String qrCode;
}