package com.hx.util.corp.entity; import java.io.Serializable; public class WeiXinInfo implements Serializable { //返回码 private Integer errcode; //对返回码的文本描述内容 private String errmsg; //成员UserID。对应管理端的帐号,企业内必须唯一。不区分大小写,长度为1~64个字节 private String userid; //成员名称;第三方不可获取,调用时返回userid以代替name;代开发自建应用需要管理员授权才返回;对于非第三方创建的成员,第三方通讯录应用也不可获取;未返回name的情况需要通过通讯录展示组件来展示名字 private String name; //手机号码, private String mobile; //职务信息; private String position; //性别。0表示未定义,1表示男性,2表示女性 private Integer gender; //邮箱, private String email; // 激活状态: 1=已激活,2=已禁用,4=未激活,5=退出企业。 private Integer status; public Integer getErrcode() { return errcode; } public void setErrcode(Integer errcode) { this.errcode = errcode; } public String getErrmsg() { return errmsg; } public void setErrmsg(String errmsg) { this.errmsg = errmsg; } public String getUserid() { return userid; } public void setUserid(String userid) { this.userid = userid; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getMobile() { return mobile; } public void setMobile(String mobile) { this.mobile = mobile; } public String getPosition() { return position; } public void setPosition(String position) { this.position = position; } public Integer getGender() { return gender; } public void setGender(Integer gender) { this.gender = gender; } public String getEmail() { return email; } public void setEmail(String email) { this.email = email; } public Integer getStatus() { return status; } public void setStatus(Integer status) { this.status = status; } @Override public String toString() { return "WeiXinInfo{" + "errcode=" + errcode + ", errmsg='" + errmsg + '\'' + ", userid='" + userid + '\'' + ", name='" + name + '\'' + ", mobile='" + mobile + '\'' + ", position='" + position + '\'' + ", gender=" + gender + ", email='" + email + '\'' + ", status=" + status + '}'; } }