|
|
|
@ -1,11 +1,13 @@
|
|
|
|
|
package com.ibeetl.jlw.entity;
|
|
|
|
|
|
|
|
|
|
import cn.jlw.util.excel.DeviceExcelSelectorServiceImpl;
|
|
|
|
|
import cn.jlw.util.excel.ExcelSelector;
|
|
|
|
|
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
|
|
|
|
|
import com.alibaba.excel.annotation.ExcelProperty;
|
|
|
|
|
import com.ibeetl.admin.core.annotation.Dict;
|
|
|
|
|
import com.ibeetl.admin.core.entity.BaseEntity;
|
|
|
|
|
import com.ibeetl.admin.core.util.ValidateConfig;
|
|
|
|
|
import lombok.EqualsAndHashCode;
|
|
|
|
|
import org.beetl.sql.annotation.entity.AssignID;
|
|
|
|
|
|
|
|
|
|
import javax.validation.constraints.NotNull;
|
|
|
|
@ -16,6 +18,7 @@ import java.math.BigDecimal;
|
|
|
|
|
* gen by Spring Boot2 Admin 2022-10-26
|
|
|
|
|
*/
|
|
|
|
|
@ExcelIgnoreUnannotated
|
|
|
|
|
@EqualsAndHashCode(callSuper=false)
|
|
|
|
|
public class TeacherOpenCourseMergeResourcesQuestion extends BaseEntity{
|
|
|
|
|
|
|
|
|
|
//ID
|
|
|
|
@ -26,70 +29,74 @@ public class TeacherOpenCourseMergeResourcesQuestion extends BaseEntity{
|
|
|
|
|
private Long teacherOpenCourseMergeResourcesQuestionId ;
|
|
|
|
|
|
|
|
|
|
//开课ID
|
|
|
|
|
@ExcelSelector(dictKeyValue = "teacher_open_course.teacher_open_course_title.teacher_open_course_status=1")
|
|
|
|
|
@ExcelSelector(
|
|
|
|
|
dictKeyValue = "teacher_open_course.teacher_open_course_title.teacher_open_course_status=1",
|
|
|
|
|
serviceClass = DeviceExcelSelectorServiceImpl.class)
|
|
|
|
|
@Dict(type="teacher_open_course.teacher_open_course_title.teacher_open_course_status=1")
|
|
|
|
|
@ExcelProperty("关联开课")
|
|
|
|
|
@ExcelProperty(value = "关联开课", index = 0)
|
|
|
|
|
|
|
|
|
|
private Long teacherOpenCourseId ;
|
|
|
|
|
|
|
|
|
|
//课程章节ID
|
|
|
|
|
@ExcelSelector(dictKeyValue = "teacher_open_course_merge_course_info.course_info_name.course_info_status=1")
|
|
|
|
|
@ExcelSelector(
|
|
|
|
|
dictKeyValue = "teacher_open_course_merge_course_info.course_info_name.course_info_status=1,course_info_type!=1",
|
|
|
|
|
serviceClass = DeviceExcelSelectorServiceImpl.class)
|
|
|
|
|
@Dict(type="teacher_open_course_merge_course_info.course_info_name.course_info_status=1")
|
|
|
|
|
@ExcelProperty("课程章节")
|
|
|
|
|
@ExcelProperty(value = "课程章节", index = 1)
|
|
|
|
|
|
|
|
|
|
private Long teacherOpenCourseMergeCourseInfoId ;
|
|
|
|
|
|
|
|
|
|
//题型(1单选 2多选 3判断 4填空 5分析)
|
|
|
|
|
@ExcelSelector(fixedSelector = {"1单选", "2多选", "3判断" })
|
|
|
|
|
@ExcelProperty("题型")
|
|
|
|
|
@ExcelProperty(value = "题型", index = 2)
|
|
|
|
|
|
|
|
|
|
private Integer questionType ;
|
|
|
|
|
|
|
|
|
|
//分值
|
|
|
|
|
|
|
|
|
|
@ExcelProperty("分值")
|
|
|
|
|
@ExcelProperty(value = "分值", index = 3)
|
|
|
|
|
private BigDecimal questionScore ;
|
|
|
|
|
|
|
|
|
|
//题干
|
|
|
|
|
|
|
|
|
|
@ExcelProperty("题干")
|
|
|
|
|
@ExcelProperty(value = "题干",index = 4)
|
|
|
|
|
private String questionStem ;
|
|
|
|
|
|
|
|
|
|
//选项A
|
|
|
|
|
@ExcelProperty("选项A")
|
|
|
|
|
@ExcelProperty(value = "选项A",index = 5)
|
|
|
|
|
|
|
|
|
|
private String questionOptionA ;
|
|
|
|
|
|
|
|
|
|
//选项B
|
|
|
|
|
@ExcelProperty("选项B")
|
|
|
|
|
@ExcelProperty(value = "选项B",index = 6)
|
|
|
|
|
|
|
|
|
|
private String questionOptionB ;
|
|
|
|
|
|
|
|
|
|
//选项C
|
|
|
|
|
@ExcelProperty("选项C")
|
|
|
|
|
@ExcelProperty(value = "选项C",index = 7)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private String questionOptionC ;
|
|
|
|
|
|
|
|
|
|
//选项D
|
|
|
|
|
@ExcelProperty("选项D")
|
|
|
|
|
@ExcelProperty(value = "选项D", index = 8)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private String questionOptionD ;
|
|
|
|
|
|
|
|
|
|
//选项E
|
|
|
|
|
@ExcelProperty("选项E")
|
|
|
|
|
@ExcelProperty(value = "选项E",index = 9)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private String questionOptionE ;
|
|
|
|
|
|
|
|
|
|
//答案(单选是一个 多选是多个 判断是对错)
|
|
|
|
|
@ExcelProperty("答案 单选是一个 多选是多个 判断是对错")
|
|
|
|
|
@ExcelProperty(value = "答案 单选是一个 多选是多个 判断是对错", index = 10)
|
|
|
|
|
|
|
|
|
|
private String questionAnswer ;
|
|
|
|
|
|
|
|
|
|
//解析
|
|
|
|
|
@ExcelProperty("解析")
|
|
|
|
|
@ExcelProperty(value = "解析", index = 11)
|
|
|
|
|
|
|
|
|
|
private String questionAnalysis ;
|
|
|
|
|
|
|
|
|
|