package com.xuekairui.quiz.entity; import com.baomidou.mybatisplus.annotation.*; import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler; import lombok.*; import java.time.LocalDateTime; import java.util.List; import java.util.Map; @Data @NoArgsConstructor @AllArgsConstructor @Builder @TableName(value = "t_quiz_question", autoResultMap = true) public class QuizQuestion { @TableId(type = IdType.ASSIGN_ID) private Long id; private Long subjectId; private Long sectionId; private Long chapterId; private Integer questionType; private String matchingGroup; private String sharedOptions; private String stem; @TableField(typeHandler = JacksonTypeHandler.class) private List> options; private String answer; private String analysis; @Builder.Default private Integer isReal = 0; private Integer year; private String source; @TableField(fill = FieldFill.INSERT) private LocalDateTime createTime; @TableField(fill = FieldFill.INSERT_UPDATE) private LocalDateTime updateTime; @TableLogic private Integer deleted; }