|
|
|
@ -0,0 +1,115 @@
|
|
|
|
|
package com.ibeetl.jlw.entity;
|
|
|
|
|
|
|
|
|
|
import com.ibeetl.admin.core.annotation.Dict;
|
|
|
|
|
import com.ibeetl.admin.core.annotation.DictEnum;
|
|
|
|
|
import com.ibeetl.admin.core.entity.BaseEntity;
|
|
|
|
|
import com.ibeetl.admin.core.util.ValidateConfig;
|
|
|
|
|
import com.ibeetl.jlw.enums.GlobalPushStatusEnum;
|
|
|
|
|
import com.ibeetl.jlw.enums.ResourcesQuestionSnapshotFromTypeEnum;
|
|
|
|
|
import lombok.Data;
|
|
|
|
|
import lombok.EqualsAndHashCode;
|
|
|
|
|
import org.beetl.sql.annotation.entity.AssignID;
|
|
|
|
|
import org.beetl.sql.annotation.entity.Table;
|
|
|
|
|
import org.beetl.sql.fetch.annotation.Fetch;
|
|
|
|
|
|
|
|
|
|
import javax.validation.constraints.NotNull;
|
|
|
|
|
import java.util.Date;
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* 我的课程-题目-设置
|
|
|
|
|
* gen by Spring Boot2 Admin 2022-10-05
|
|
|
|
|
*/
|
|
|
|
|
@Fetch
|
|
|
|
|
@Data
|
|
|
|
|
@EqualsAndHashCode(callSuper=false)
|
|
|
|
|
@Table(name = "teacher_open_course_question_setting")
|
|
|
|
|
@SuppressWarnings("ALL")
|
|
|
|
|
public class TeacherOpenCourseQuestionSettingPure extends BaseEntity {
|
|
|
|
|
|
|
|
|
|
//开课题目设置ID
|
|
|
|
|
@NotNull(message = "ID不能为空", groups =ValidateConfig.UPDATE.class)
|
|
|
|
|
// @SeqID(name = ORACLE_CORE_SEQ_NAME)
|
|
|
|
|
@AssignID(value = "maskAutoID",param = "com.ibeetl.jlw.entity.TeacherOpenCourseQuestionSetting")
|
|
|
|
|
|
|
|
|
|
private Long teacherOpenCourseQuestionSettingId ;
|
|
|
|
|
|
|
|
|
|
//开课ID
|
|
|
|
|
|
|
|
|
|
private Long teacherOpenCourseId;
|
|
|
|
|
|
|
|
|
|
//班级ID集合(逗号隔开)
|
|
|
|
|
|
|
|
|
|
private String teacherOpenCourseQuestionSettingSchoolClassIds ;
|
|
|
|
|
|
|
|
|
|
//作答次数
|
|
|
|
|
|
|
|
|
|
private Integer teacherOpenCourseQuestionSettingDoCount ;
|
|
|
|
|
|
|
|
|
|
//题目乱序(同一大题内)
|
|
|
|
|
|
|
|
|
|
private Integer teacherOpenCourseQuestionSettingQuestionNoOrder ;
|
|
|
|
|
|
|
|
|
|
//选项乱序(限单选、多选)
|
|
|
|
|
|
|
|
|
|
private Integer teacherOpenCourseQuestionSettingOptionNoOrder ;
|
|
|
|
|
|
|
|
|
|
//答卷后显示答案解析
|
|
|
|
|
|
|
|
|
|
private Integer teacherOpenCourseQuestionSettingEndShowQa ;
|
|
|
|
|
|
|
|
|
|
//答卷后显示答案对错
|
|
|
|
|
|
|
|
|
|
private Integer teacherOpenCourseQuestionSettingEndShowTrueFalse ;
|
|
|
|
|
|
|
|
|
|
//开课题目-名称
|
|
|
|
|
|
|
|
|
|
private String teacherOpenCourseQuestionSettingName ;
|
|
|
|
|
|
|
|
|
|
//题目开始时间
|
|
|
|
|
|
|
|
|
|
private Date teacherOpenCourseQuestionStartTime ;
|
|
|
|
|
|
|
|
|
|
//题目结束时间
|
|
|
|
|
|
|
|
|
|
private Date teacherOpenCourseQuestionEndTime ;
|
|
|
|
|
|
|
|
|
|
//类型 枚举(ResourcesQuestionSnapshotFromTypeEnum)
|
|
|
|
|
|
|
|
|
|
@DictEnum
|
|
|
|
|
private ResourcesQuestionSnapshotFromTypeEnum teacherOpenCourseQuestionSettingType ;
|
|
|
|
|
|
|
|
|
|
// 题目要求(附件类型题目,需要)
|
|
|
|
|
|
|
|
|
|
private String teacherOpenCourseQuestionSettingRequire ;
|
|
|
|
|
|
|
|
|
|
//附件,老师上传附件(单文件)
|
|
|
|
|
|
|
|
|
|
private String teacherOpenCourseQuestionSettingFile ;
|
|
|
|
|
|
|
|
|
|
//发布状态。 1发布,2未发布
|
|
|
|
|
// @Dict(type="global_push_status")
|
|
|
|
|
@DictEnum
|
|
|
|
|
private GlobalPushStatusEnum teacherOpenCourseQuestionSettingPushStatus ;
|
|
|
|
|
|
|
|
|
|
//状态 (1正常 2删除)
|
|
|
|
|
@Dict(type="global_status")
|
|
|
|
|
|
|
|
|
|
private Integer teacherOpenCourseQuestionSettingStatus ;
|
|
|
|
|
|
|
|
|
|
//创建时间
|
|
|
|
|
|
|
|
|
|
private Date teacherOpenCourseQuestionSettingAddTime ;
|
|
|
|
|
|
|
|
|
|
//关联的章节ID(仅章节练习有值)
|
|
|
|
|
|
|
|
|
|
private Long teacherOpenCourseMergeCourseInfoId;
|
|
|
|
|
|
|
|
|
|
//组织ID
|
|
|
|
|
|
|
|
|
|
private Long orgId ;
|
|
|
|
|
|
|
|
|
|
//用户ID
|
|
|
|
|
|
|
|
|
|
private Long userId ;
|
|
|
|
|
|
|
|
|
|
}
|