d222ebf0ae22f2ff403255100ae1979cf0830719.svn-base 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. package com.example.myapplication.model.entity;
  2. import java.util.List;
  3. public class UserRegisterEntity {
  4. //{"result":{"code":0,"modelInfo":null,"msg":"验证码过期,注册失败","other":"","resultList":[]}}
  5. private int code;
  6. private String modelInfo;
  7. private String msg;
  8. private String other;
  9. private List<ResultList> resultList;
  10. public class ResultList {
  11. }
  12. public List<ResultList> getResultList() {
  13. return resultList;
  14. }
  15. public void setResultList(List<ResultList> resultList) {
  16. this.resultList = resultList;
  17. }
  18. public int getCode() {
  19. return code;
  20. }
  21. public void setCode(int code) {
  22. this.code = code;
  23. }
  24. public String getModelInfo() {
  25. return modelInfo;
  26. }
  27. public void setModelInfo(String modelInfo) {
  28. this.modelInfo = modelInfo;
  29. }
  30. public String getMsg() {
  31. return msg;
  32. }
  33. public void setMsg(String msg) {
  34. this.msg = msg;
  35. }
  36. public String getOther() {
  37. return other;
  38. }
  39. public void setOther(String other) {
  40. this.other = other;
  41. }
  42. @Override
  43. public String toString() {
  44. return "UserRegisterEntity{" +
  45. "code='" + code + '\'' +
  46. ", modelInfo='" + modelInfo + '\'' +
  47. ", msg='" + msg + '\'' +
  48. ", other='" + other + '\'' +
  49. '}';
  50. }
  51. }