469c9f22318a93f5d17df15466f101be025c4b8e.svn-base 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. package com.example.myapplication.model.entity;
  2. import java.util.List;
  3. public class UserEntity {
  4. private int code;
  5. private String msg;
  6. private String other;//sessionId
  7. private List<UserEntity.ResultList> resultList;
  8. public class ResultList {
  9. }
  10. public int getCode() {
  11. return code;
  12. }
  13. public void setCode(int code) {
  14. this.code = code;
  15. }
  16. public String getMsg() {
  17. return msg;
  18. }
  19. public void setMsg(String msg) {
  20. this.msg = msg;
  21. }
  22. public String getOther() {
  23. return other;
  24. }
  25. public void setOther(String other) {
  26. this.other = other;
  27. }
  28. public List<UserEntity.ResultList> getResultList() {
  29. return resultList;
  30. }
  31. public void setResultList(List<UserEntity.ResultList> resultList) {
  32. this.resultList = resultList;
  33. }
  34. public class ModelInfo {
  35. private String createtime;//创建时间
  36. private String inUse;//是否可用1为可用
  37. private String invitationcode;//邀请码
  38. private String isMainAccount;//是否主显账号
  39. private String mobilenumber;//登录手机号
  40. private String mustchangepwd;//是否必须更改密码 0为不需要
  41. private String password;//登录密码
  42. private String uaUserinfoId; //用户ID
  43. private String usertype; //"企业用户"
  44. public String getCreatetime() {
  45. return createtime;
  46. }
  47. public void setCreatetime(String createtime) {
  48. this.createtime = createtime;
  49. }
  50. public String getInUse() {
  51. return inUse;
  52. }
  53. public void setInUse(String inUse) {
  54. this.inUse = inUse;
  55. }
  56. public String getInvitationcode() {
  57. return invitationcode;
  58. }
  59. public void setInvitationcode(String invitationcode) {
  60. this.invitationcode = invitationcode;
  61. }
  62. public String getIsMainAccount() {
  63. return isMainAccount;
  64. }
  65. public void setIsMainAccount(String isMainAccount) {
  66. this.isMainAccount = isMainAccount;
  67. }
  68. public String getMobilenumber() {
  69. return mobilenumber;
  70. }
  71. public void setMobilenumber(String mobilenumber) {
  72. this.mobilenumber = mobilenumber;
  73. }
  74. public String getMustchangepwd() {
  75. return mustchangepwd;
  76. }
  77. public void setMustchangepwd(String mustchangepwd) {
  78. this.mustchangepwd = mustchangepwd;
  79. }
  80. public String getPassword() {
  81. return password;
  82. }
  83. public void setPassword(String password) {
  84. this.password = password;
  85. }
  86. public String getUaUserinfoId() {
  87. return uaUserinfoId;
  88. }
  89. public void setUaUserinfoId(String uaUserinfoId) {
  90. this.uaUserinfoId = uaUserinfoId;
  91. }
  92. public String getUsertype() {
  93. return usertype;
  94. }
  95. public void setUsertype(String usertype) {
  96. this.usertype = usertype;
  97. }
  98. @Override
  99. public String toString() {
  100. return "ModelInfo{" +
  101. "createtime='" + createtime + '\'' +
  102. ", inUse='" + inUse + '\'' +
  103. ", invitationcode='" + invitationcode + '\'' +
  104. ", isMainAccount='" + isMainAccount + '\'' +
  105. ", mobilenumber='" + mobilenumber + '\'' +
  106. ", mustchangepwd='" + mustchangepwd + '\'' +
  107. ", password='" + password + '\'' +
  108. ", uaUserinfoId='" + uaUserinfoId + '\'' +
  109. ", usertype='" + usertype + '\'' +
  110. '}';
  111. }
  112. }
  113. @Override
  114. public String toString() {
  115. return "UserLoginEntity{" +
  116. "code='" + code + '\'' +
  117. ", msg='" + msg + '\'' +
  118. ", other='" + other + '\'' +
  119. ", resultList=" + resultList +
  120. '}';
  121. }
  122. }