StudentServiceBatchSaveClassStudentsResult.java 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  1. package com.template.model.seewo;
  2. import java.util.*;
  3. import com.seewo.open.sdk.OpenApiResult;
  4. import com.seewo.open.sdk.HttpResponse;
  5. /**
  6. * seewo-open API: 批量添加班级学生
  7. *
  8. *
  9. * @author auto create
  10. * @since 2.0.1 2023-12-19
  11. */
  12. public class StudentServiceBatchSaveClassStudentsResult extends OpenApiResult {
  13. public StudentServiceBatchSaveClassStudentsResult(HttpResponse response) {
  14. super(response);
  15. }
  16. /**
  17. * 响应体,MimeType为 application/json
  18. */
  19. private JSONResponseBody responseBody;
  20. public JSONResponseBody getResponseBody() {
  21. return this.responseBody;
  22. }
  23. public void setResponseBody(JSONResponseBody responseBody) {
  24. this.responseBody = responseBody;
  25. }
  26. public static class JSONResponseBody {
  27. /**
  28. *
  29. */
  30. private String code;
  31. /**
  32. *
  33. */
  34. private String message;
  35. /**
  36. *
  37. */
  38. private List<StudentInfoDto> data;
  39. public String getCode() {
  40. return this.code;
  41. }
  42. public void setCode(String code) {
  43. this.code = code;
  44. }
  45. public String getMessage() {
  46. return this.message;
  47. }
  48. public void setMessage(String message) {
  49. this.message = message;
  50. }
  51. public List<StudentInfoDto> getData() {
  52. return this.data;
  53. }
  54. public void setData(List<StudentInfoDto> data) {
  55. this.data = data;
  56. }
  57. }
  58. public static class StudentInfoDto {
  59. /**
  60. * 用户ID
  61. */
  62. private String userUid;
  63. /**
  64. * 用户名
  65. */
  66. private String userName;
  67. /**
  68. * 学号
  69. */
  70. private String studentCode;
  71. /**
  72. * 性别
  73. */
  74. private Integer gender;
  75. /**
  76. * 头像
  77. */
  78. private String photoUrl;
  79. /**
  80. * 卡号
  81. */
  82. private String cardId;
  83. /**
  84. * 家长信息
  85. */
  86. private List<ParentInfoDto> parents;
  87. public String getUserUid() {
  88. return this.userUid;
  89. }
  90. public void setUserUid(String userUid) {
  91. this.userUid = userUid;
  92. }
  93. public String getUserName() {
  94. return this.userName;
  95. }
  96. public void setUserName(String userName) {
  97. this.userName = userName;
  98. }
  99. public String getStudentCode() {
  100. return this.studentCode;
  101. }
  102. public void setStudentCode(String studentCode) {
  103. this.studentCode = studentCode;
  104. }
  105. public Integer getGender() {
  106. return this.gender;
  107. }
  108. public void setGender(Integer gender) {
  109. this.gender = gender;
  110. }
  111. public String getPhotoUrl() {
  112. return this.photoUrl;
  113. }
  114. public void setPhotoUrl(String photoUrl) {
  115. this.photoUrl = photoUrl;
  116. }
  117. public String getCardId() {
  118. return this.cardId;
  119. }
  120. public void setCardId(String cardId) {
  121. this.cardId = cardId;
  122. }
  123. public List<ParentInfoDto> getParents() {
  124. return this.parents;
  125. }
  126. public void setParents(List<ParentInfoDto> parents) {
  127. this.parents = parents;
  128. }
  129. }
  130. public static class ParentInfoDto {
  131. /**
  132. * 家长名
  133. */
  134. private String name;
  135. /**
  136. * 家长号码
  137. */
  138. private String phone;
  139. /**
  140. *
  141. */
  142. private Integer index;
  143. public String getName() {
  144. return this.name;
  145. }
  146. public void setName(String name) {
  147. this.name = name;
  148. }
  149. public String getPhone() {
  150. return this.phone;
  151. }
  152. public void setPhone(String phone) {
  153. this.phone = phone;
  154. }
  155. public Integer getIndex() {
  156. return this.index;
  157. }
  158. public void setIndex(Integer index) {
  159. this.index = index;
  160. }
  161. }
  162. }