PageRenderTime 4409ms CodeModel.GetById 41ms RepoModel.GetById 1ms app.codeStats 0ms

/wechat-mp-sdk/src/main/java/org/usc/wechat/mp/sdk/vo/user/UserInfoJsonRtn.java

https://gitlab.com/hackbuteer59/wechat-mp-sdk
Java | 125 lines | 87 code | 34 blank | 4 comment | 0 complexity | a7e6e0fdaf6d694d7ede671ca0c91c3e MD5 | raw file
  1. package org.usc.wechat.mp.sdk.vo.user;
  2. import org.usc.wechat.mp.sdk.vo.JsonRtn;
  3. import com.alibaba.fastjson.annotation.JSONField;
  4. /**
  5. *
  6. * @author Shunli
  7. */
  8. public class UserInfoJsonRtn extends JsonRtn {
  9. @JSONField(name = "subscribe")
  10. private int subscribe;
  11. @JSONField(name = "openid")
  12. private String openId;
  13. @JSONField(name = "nickname")
  14. private String nickName;
  15. @JSONField(name = "sex")
  16. private int sex;
  17. @JSONField(name = "language")
  18. private String language;
  19. @JSONField(name = "city")
  20. private String city;
  21. @JSONField(name = "province")
  22. private String province;
  23. @JSONField(name = "country")
  24. private String country;
  25. @JSONField(name = "headimgurl")
  26. private String headImgUrl;
  27. @JSONField(name = "subscribe_time")
  28. private long subscribeTime;
  29. public UserInfoJsonRtn() {
  30. }
  31. public int getSubscribe() {
  32. return subscribe;
  33. }
  34. public void setSubscribe(int subscribe) {
  35. this.subscribe = subscribe;
  36. }
  37. public String getOpenId() {
  38. return openId;
  39. }
  40. public void setOpenId(String openId) {
  41. this.openId = openId;
  42. }
  43. public String getNickName() {
  44. return nickName;
  45. }
  46. public void setNickName(String nickName) {
  47. this.nickName = nickName;
  48. }
  49. public int getSex() {
  50. return sex;
  51. }
  52. public void setSex(int sex) {
  53. this.sex = sex;
  54. }
  55. public String getLanguage() {
  56. return language;
  57. }
  58. public void setLanguage(String language) {
  59. this.language = language;
  60. }
  61. public String getCity() {
  62. return city;
  63. }
  64. public void setCity(String city) {
  65. this.city = city;
  66. }
  67. public String getProvince() {
  68. return province;
  69. }
  70. public void setProvince(String province) {
  71. this.province = province;
  72. }
  73. public String getCountry() {
  74. return country;
  75. }
  76. public void setCountry(String country) {
  77. this.country = country;
  78. }
  79. public String getHeadImgUrl() {
  80. return headImgUrl;
  81. }
  82. public void setHeadImgUrl(String headImgUrl) {
  83. this.headImgUrl = headImgUrl;
  84. }
  85. public long getSubscribeTime() {
  86. return subscribeTime;
  87. }
  88. public void setSubscribeTime(long subscribeTime) {
  89. this.subscribeTime = subscribeTime;
  90. }
  91. }