提交 | 用户 | age
|
826b66
|
1 |
package com.hx.util.corp.entity; |
C |
2 |
|
|
3 |
/**openId转userid或者userid转openId接收实体 |
|
4 |
* |
|
5 |
*/ |
|
6 |
public class OpenIdAUserId { |
|
7 |
|
|
8 |
/**返回码,0表示成功*/ |
|
9 |
private Integer errcode; |
|
10 |
/**对返回码的文本描述内容*/ |
|
11 |
private String errmsg; |
|
12 |
/**企业员工userid*/ |
|
13 |
private String userid; |
|
14 |
/**用户openid*/ |
|
15 |
private String openid; |
|
16 |
|
|
17 |
|
|
18 |
/**状态码-成功*/ |
|
19 |
public static final int CODE_SUCCESS = 0; |
|
20 |
|
|
21 |
public Integer getErrcode() { |
|
22 |
return errcode; |
|
23 |
} |
|
24 |
|
|
25 |
public void setErrcode(Integer errcode) { |
|
26 |
this.errcode = errcode; |
|
27 |
} |
|
28 |
|
|
29 |
public String getErrmsg() { |
|
30 |
return errmsg; |
|
31 |
} |
|
32 |
|
|
33 |
public void setErrmsg(String errmsg) { |
|
34 |
this.errmsg = errmsg; |
|
35 |
} |
|
36 |
|
|
37 |
public String getUserid() { |
|
38 |
return userid; |
|
39 |
} |
|
40 |
|
|
41 |
public void setUserid(String userid) { |
|
42 |
this.userid = userid; |
|
43 |
} |
|
44 |
|
|
45 |
public String getOpenid() { |
|
46 |
return openid; |
|
47 |
} |
|
48 |
|
|
49 |
public void setOpenid(String openid) { |
|
50 |
this.openid = openid; |
|
51 |
} |
|
52 |
|
|
53 |
@Override |
|
54 |
public String toString() { |
|
55 |
return "OpenIdAUserId{" + |
|
56 |
"errcode=" + errcode + |
|
57 |
", errmsg='" + errmsg + '\'' + |
|
58 |
", userid='" + userid + '\'' + |
|
59 |
", openid='" + openid + '\'' + |
|
60 |
'}'; |
|
61 |
} |
|
62 |
} |