LearnPlanStudy.java 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. package com.ruoyi.learn.domain;
  2. import java.util.Date;
  3. import com.fasterxml.jackson.annotation.JsonFormat;
  4. import org.apache.commons.lang3.builder.ToStringBuilder;
  5. import org.apache.commons.lang3.builder.ToStringStyle;
  6. import com.ruoyi.common.annotation.Excel;
  7. import com.ruoyi.common.core.domain.BaseEntity;
  8. /**
  9. * 学生计划执行情况对象 learn_plan_study
  10. *
  11. * @author ruoyi
  12. * @date 2025-09-25
  13. */
  14. public class LearnPlanStudy extends BaseEntity
  15. {
  16. private static final long serialVersionUID = 1L;
  17. /** 计划学习id */
  18. private String id;
  19. /** 学生id */
  20. @Excel(name = "学生id")
  21. private Long studentId;
  22. /** 对应计划 */
  23. @Excel(name = "对应计划")
  24. private Long planId;
  25. /** 月份序号 */
  26. @Excel(name = "月份序号")
  27. private Long monthSeq;
  28. /** 周序号 */
  29. @Excel(name = "周序号")
  30. private Long weekSeq;
  31. /** 学习日期 */
  32. @JsonFormat(pattern = "yyyy-MM-dd")
  33. @Excel(name = "学习日期", width = 30, dateFormat = "yyyy-MM-dd")
  34. private Date reportDate;
  35. /** 完成题数 */
  36. @Excel(name = "完成题数")
  37. private Long questionCount;
  38. @Excel(name = "完成题数")
  39. private Long rightCount;
  40. /** 完成视频时间 */
  41. @Excel(name = "完成视频数量")
  42. private Long videoCount;
  43. /** 完成视频时间 */
  44. @Excel(name = "完成视频时间")
  45. private Long videoTime;
  46. /** 计划做题数 */
  47. @Excel(name = "计划做题数")
  48. private Integer questionPlan;
  49. /** 计划视频时间 */
  50. @Excel(name = "计划视频时间")
  51. private Integer videoPlan;
  52. public void setId(String id)
  53. {
  54. this.id = id;
  55. }
  56. public String getId()
  57. {
  58. return id;
  59. }
  60. public void setStudentId(Long studentId)
  61. {
  62. this.studentId = studentId;
  63. }
  64. public Long getStudentId()
  65. {
  66. return studentId;
  67. }
  68. public void setPlanId(Long planId)
  69. {
  70. this.planId = planId;
  71. }
  72. public Long getPlanId()
  73. {
  74. return planId;
  75. }
  76. public void setMonthSeq(Long monthSeq)
  77. {
  78. this.monthSeq = monthSeq;
  79. }
  80. public Long getMonthSeq()
  81. {
  82. return monthSeq;
  83. }
  84. public void setWeekSeq(Long weekSeq)
  85. {
  86. this.weekSeq = weekSeq;
  87. }
  88. public Long getWeekSeq()
  89. {
  90. return weekSeq;
  91. }
  92. public void setReportDate(Date reportDate)
  93. {
  94. this.reportDate = reportDate;
  95. }
  96. public Date getReportDate()
  97. {
  98. return reportDate;
  99. }
  100. public void setQuestionCount(Long questionCount)
  101. {
  102. this.questionCount = questionCount;
  103. }
  104. public Long getQuestionCount()
  105. {
  106. return questionCount;
  107. }
  108. public Long getRightCount() {
  109. return rightCount;
  110. }
  111. public void setRightCount(Long rightCount) {
  112. this.rightCount = rightCount;
  113. }
  114. public Long getVideoCount() {
  115. return videoCount;
  116. }
  117. public void setVideoCount(Long videoCount) {
  118. this.videoCount = videoCount;
  119. }
  120. public void setVideoTime(Long videoTime)
  121. {
  122. this.videoTime = videoTime;
  123. }
  124. public Long getVideoTime()
  125. {
  126. return videoTime;
  127. }
  128. public void setQuestionPlan(Integer questionPlan)
  129. {
  130. this.questionPlan = questionPlan;
  131. }
  132. public Integer getQuestionPlan()
  133. {
  134. return questionPlan;
  135. }
  136. public void setVideoPlan(Integer videoPlan)
  137. {
  138. this.videoPlan = videoPlan;
  139. }
  140. public Integer getVideoPlan()
  141. {
  142. return videoPlan;
  143. }
  144. @Override
  145. public String toString() {
  146. return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
  147. .append("id", getId())
  148. .append("studentId", getStudentId())
  149. .append("planId", getPlanId())
  150. .append("monthSeq", getMonthSeq())
  151. .append("weekSeq", getWeekSeq())
  152. .append("reportDate", getReportDate())
  153. .append("questionCount", getQuestionCount())
  154. .append("videoTime", getVideoTime())
  155. .append("questionPlan", getQuestionPlan())
  156. .append("videoPlan", getVideoPlan())
  157. .append("updateTime", getUpdateTime())
  158. .toString();
  159. }
  160. }