dev --- 3.8.0.A版本, openProject引用 ;
formao-live --- 3.7.0.B 版本, formallProject引用
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- package me.chanjar.weixin.bean.result;
-
- import me.chanjar.weixin.util.json.WxGsonBuilder;
-
- /**
- * 微信用户信息
- * @author chanjarster
- *
- */
- public class WxUser {
-
- protected boolean subscribe;
- protected String openid;
- protected String nickname;
- protected String sex;
- protected String language;
- protected String city;
- protected String province;
- protected String country;
- protected String headimgurl;
- protected long subscribe_time;
- protected String unionid;
-
- public boolean isSubscribe() {
- return subscribe;
- }
- public void setSubscribe(boolean subscribe) {
- this.subscribe = subscribe;
- }
- public String getOpenid() {
- return openid;
- }
- public void setOpenid(String openid) {
- this.openid = openid;
- }
- public String getNickname() {
- return nickname;
- }
- public void setNickname(String nickname) {
- this.nickname = nickname;
- }
- public String getSex() {
- return sex;
- }
- public void setSex(String sex) {
- this.sex = sex;
- }
- public String getLanguage() {
- return language;
- }
- public void setLanguage(String language) {
- this.language = language;
- }
- public String getCity() {
- return city;
- }
- public void setCity(String city) {
- this.city = city;
- }
- public String getProvince() {
- return province;
- }
- public void setProvince(String province) {
- this.province = province;
- }
- public String getCountry() {
- return country;
- }
- public void setCountry(String country) {
- this.country = country;
- }
- public String getHeadimgurl() {
- return headimgurl;
- }
- public void setHeadimgurl(String headimgurl) {
- this.headimgurl = headimgurl;
- }
- public long getSubscribe_time() {
- return subscribe_time;
- }
- public void setSubscribe_time(long subscribe_time) {
- this.subscribe_time = subscribe_time;
- }
- public String getUnionid() {
- return unionid;
- }
- public void setUnionid(String unionid) {
- this.unionid = unionid;
- }
-
- public static WxUser fromJson(String json) {
- return WxGsonBuilder.INSTANCE.create().fromJson(json, WxUser.class);
- }
-
- }
|