LearnKnowledgeQuestion.java 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. package com.ruoyi.learn.domain;
  2. import org.apache.commons.lang3.builder.ToStringBuilder;
  3. import org.apache.commons.lang3.builder.ToStringStyle;
  4. import com.ruoyi.common.annotation.Excel;
  5. import com.ruoyi.common.core.domain.BaseEntity;
  6. /**
  7. * 知识点题关系对象 learn_knowledge_question
  8. *
  9. * @author ruoyi
  10. * @date 2025-09-25
  11. */
  12. public class LearnKnowledgeQuestion extends BaseEntity
  13. {
  14. private static final long serialVersionUID = 1L;
  15. /** ID */
  16. private Long id;
  17. /** 知识点 */
  18. @Excel(name = "知识点")
  19. private Long knowledgeId;
  20. /** 0 默认 1know_test-知识点 2必刷题,3auto-基础题库,4high_error-高频错题 */
  21. @Excel(name = "0 默认 1know_test-知识点 2必刷题,3auto-基础题库,4high_error-高频错题")
  22. private Long type;
  23. /** 题ID */
  24. @Excel(name = "题ID")
  25. private Long questionId;
  26. /** 顺序 */
  27. @Excel(name = "顺序")
  28. private Long seq;
  29. public void setId(Long id)
  30. {
  31. this.id = id;
  32. }
  33. public Long getId()
  34. {
  35. return id;
  36. }
  37. public void setKnowledgeId(Long knowledgeId)
  38. {
  39. this.knowledgeId = knowledgeId;
  40. }
  41. public Long getKnowledgeId()
  42. {
  43. return knowledgeId;
  44. }
  45. public void setType(Long type)
  46. {
  47. this.type = type;
  48. }
  49. public Long getType()
  50. {
  51. return type;
  52. }
  53. public void setQuestionId(Long questionId)
  54. {
  55. this.questionId = questionId;
  56. }
  57. public Long getQuestionId()
  58. {
  59. return questionId;
  60. }
  61. public void setSeq(Long seq)
  62. {
  63. this.seq = seq;
  64. }
  65. public Long getSeq()
  66. {
  67. return seq;
  68. }
  69. @Override
  70. public String toString() {
  71. return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
  72. .append("id", getId())
  73. .append("knowledgeId", getKnowledgeId())
  74. .append("type", getType())
  75. .append("questionId", getQuestionId())
  76. .append("seq", getSeq())
  77. .append("createTime", getCreateTime())
  78. .toString();
  79. }
  80. }