StudentLeaveStudentLeaveRequestHandlerResult.java 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  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: 学生请假申请与查询api
  7. *
  8. *
  9. * @author auto create
  10. * @since 2.0.1 2024-1-4
  11. */
  12. public class StudentLeaveStudentLeaveRequestHandlerResult extends OpenApiResult {
  13. public StudentLeaveStudentLeaveRequestHandlerResult(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<StudentLeaveRecordResult> 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<StudentLeaveRecordResult> getData() {
  52. return this.data;
  53. }
  54. public void setData(List<StudentLeaveRecordResult> data) {
  55. this.data = data;
  56. }
  57. }
  58. public static class StudentLeaveRecordResult {
  59. /**
  60. * 用户ID
  61. */
  62. private String userUid;
  63. /**
  64. * 学生姓名
  65. */
  66. private String userName;
  67. /**
  68. * 请假类型:0事假,1病假
  69. */
  70. private Integer type;
  71. /**
  72. * 请假原因
  73. */
  74. private String reason;
  75. /**
  76. * 开始时间
  77. */
  78. private String startTime;
  79. /**
  80. * 结束时间
  81. */
  82. private String endTime;
  83. /**
  84. * 附件列表
  85. */
  86. private List<String> attachments;
  87. /**
  88. * 请假申请时间
  89. */
  90. private String createTime;
  91. public String getUserUid() {
  92. return this.userUid;
  93. }
  94. public void setUserUid(String userUid) {
  95. this.userUid = userUid;
  96. }
  97. public String getUserName() {
  98. return this.userName;
  99. }
  100. public void setUserName(String userName) {
  101. this.userName = userName;
  102. }
  103. public Integer getType() {
  104. return this.type;
  105. }
  106. public void setType(Integer type) {
  107. this.type = type;
  108. }
  109. public String getReason() {
  110. return this.reason;
  111. }
  112. public void setReason(String reason) {
  113. this.reason = reason;
  114. }
  115. public String getStartTime() {
  116. return this.startTime;
  117. }
  118. public void setStartTime(String startTime) {
  119. this.startTime = startTime;
  120. }
  121. public String getEndTime() {
  122. return this.endTime;
  123. }
  124. public void setEndTime(String endTime) {
  125. this.endTime = endTime;
  126. }
  127. public List<String> getAttachments() {
  128. return this.attachments;
  129. }
  130. public void setAttachments(List<String> attachments) {
  131. this.attachments = attachments;
  132. }
  133. public String getCreateTime() {
  134. return this.createTime;
  135. }
  136. public void setCreateTime(String createTime) {
  137. this.createTime = createTime;
  138. }
  139. }
  140. }