提交 | 用户 | age
|
f3ad4b
|
1 |
package com.hx.util.corp.entity; |
C |
2 |
|
|
3 |
import java.io.Serializable; |
|
4 |
|
|
5 |
public class WeiXinInfo implements Serializable { |
|
6 |
|
|
7 |
//返回码 |
|
8 |
private Integer errcode; |
|
9 |
//对返回码的文本描述内容 |
|
10 |
private String errmsg; |
|
11 |
//成员UserID。对应管理端的帐号,企业内必须唯一。不区分大小写,长度为1~64个字节 |
|
12 |
private String userid; |
|
13 |
//成员名称;第三方不可获取,调用时返回userid以代替name;代开发自建应用需要管理员授权才返回;对于非第三方创建的成员,第三方通讯录应用也不可获取;未返回name的情况需要通过通讯录展示组件来展示名字 |
|
14 |
private String name; |
|
15 |
//手机号码, |
|
16 |
private String mobile; |
|
17 |
//职务信息; |
|
18 |
private String position; |
|
19 |
//性别。0表示未定义,1表示男性,2表示女性 |
|
20 |
private Integer gender; |
|
21 |
//邮箱, |
|
22 |
private String email; |
|
23 |
// 激活状态: 1=已激活,2=已禁用,4=未激活,5=退出企业。 |
|
24 |
private Integer status; |
|
25 |
|
|
26 |
|
|
27 |
public Integer getErrcode() { |
|
28 |
return errcode; |
|
29 |
} |
|
30 |
|
|
31 |
public void setErrcode(Integer errcode) { |
|
32 |
this.errcode = errcode; |
|
33 |
} |
|
34 |
|
|
35 |
public String getErrmsg() { |
|
36 |
return errmsg; |
|
37 |
} |
|
38 |
|
|
39 |
public void setErrmsg(String errmsg) { |
|
40 |
this.errmsg = errmsg; |
|
41 |
} |
|
42 |
|
|
43 |
public String getUserid() { |
|
44 |
return userid; |
|
45 |
} |
|
46 |
|
|
47 |
public void setUserid(String userid) { |
|
48 |
this.userid = userid; |
|
49 |
} |
|
50 |
|
|
51 |
public String getName() { |
|
52 |
return name; |
|
53 |
} |
|
54 |
|
|
55 |
public void setName(String name) { |
|
56 |
this.name = name; |
|
57 |
} |
|
58 |
|
|
59 |
public String getMobile() { |
|
60 |
return mobile; |
|
61 |
} |
|
62 |
|
|
63 |
public void setMobile(String mobile) { |
|
64 |
this.mobile = mobile; |
|
65 |
} |
|
66 |
|
|
67 |
public String getPosition() { |
|
68 |
return position; |
|
69 |
} |
|
70 |
|
|
71 |
public void setPosition(String position) { |
|
72 |
this.position = position; |
|
73 |
} |
|
74 |
|
|
75 |
public Integer getGender() { |
|
76 |
return gender; |
|
77 |
} |
|
78 |
|
|
79 |
public void setGender(Integer gender) { |
|
80 |
this.gender = gender; |
|
81 |
} |
|
82 |
|
|
83 |
public String getEmail() { |
|
84 |
return email; |
|
85 |
} |
|
86 |
|
|
87 |
public void setEmail(String email) { |
|
88 |
this.email = email; |
|
89 |
} |
|
90 |
|
|
91 |
public Integer getStatus() { |
|
92 |
return status; |
|
93 |
} |
|
94 |
|
|
95 |
public void setStatus(Integer status) { |
|
96 |
this.status = status; |
|
97 |
} |
|
98 |
|
|
99 |
@Override |
|
100 |
public String toString() { |
|
101 |
return "WeiXinInfo{" + |
|
102 |
"errcode=" + errcode + |
|
103 |
", errmsg='" + errmsg + '\'' + |
|
104 |
", userid='" + userid + '\'' + |
|
105 |
", name='" + name + '\'' + |
|
106 |
", mobile='" + mobile + '\'' + |
|
107 |
", position='" + position + '\'' + |
|
108 |
", gender=" + gender + |
|
109 |
", email='" + email + '\'' + |
|
110 |
", status=" + status + |
|
111 |
'}'; |
|
112 |
} |
|
113 |
} |