|
|
package com.ibeetl.jlw.entity;
|
|
|
|
|
|
import com.ibeetl.admin.core.annotation.Dict;
|
|
|
import com.ibeetl.admin.core.entity.BaseEntity;
|
|
|
import com.ibeetl.admin.core.util.ValidateConfig;
|
|
|
import lombok.Data;
|
|
|
import lombok.EqualsAndHashCode;
|
|
|
import org.beetl.sql.annotation.entity.AssignID;
|
|
|
import org.beetl.sql.fetch.annotation.Fetch;
|
|
|
|
|
|
import javax.validation.constraints.NotNull;
|
|
|
import java.math.BigDecimal;
|
|
|
import java.util.Date;
|
|
|
|
|
|
/*
|
|
|
* 我的课程-题库-做题日志
|
|
|
* gen by Spring Boot2 Admin 2022-10-05
|
|
|
*/
|
|
|
@Data
|
|
|
@EqualsAndHashCode(callSuper=false)
|
|
|
@Fetch
|
|
|
public class TeacherOpenCourseQuestionLog extends BaseEntity{
|
|
|
|
|
|
//学生做题日志ID
|
|
|
@NotNull(message = "ID不能为空", groups =ValidateConfig.UPDATE.class)
|
|
|
// @SeqID(name = ORACLE_CORE_SEQ_NAME)
|
|
|
@AssignID(value = "maskAutoID",param = "com.ibeetl.jlw.entity.TeacherOpenCourseQuestionLog")
|
|
|
|
|
|
private Long teacherOpenCourseQuestionLogId ;
|
|
|
|
|
|
//开课题目配置ID
|
|
|
@Dict(type="teacher_open_course_question_setting.teacher_open_course_question_setting_name.teacher_open_course_question_setting_status=1")
|
|
|
|
|
|
private Long teacherOpenCourseQuestionSettingId ;
|
|
|
|
|
|
//题目快照ID
|
|
|
// @Dict(type="resources_question_snapshot.question_stem.question_status=1")
|
|
|
|
|
|
private Long resourcesQuestionSnapshotId ;
|
|
|
|
|
|
//学生提交的答案
|
|
|
|
|
|
private String teacherOpenCourseQuestionLogAnswer ;
|
|
|
|
|
|
//附件,学生端上传附件(单文件)
|
|
|
|
|
|
private String teacherOpenCourseQuestionLogUploadFile ;
|
|
|
|
|
|
//创建时间
|
|
|
|
|
|
private Date teacherOpenCourseQuestionLogAddTime ;
|
|
|
|
|
|
//状态(1正常 2删除)
|
|
|
@Dict(type="global_status")
|
|
|
|
|
|
private Integer teacherOpenCourseQuestionLogStatus ;
|
|
|
|
|
|
//学生ID
|
|
|
|
|
|
private Long studentId ;
|
|
|
|
|
|
//学生得分
|
|
|
|
|
|
private BigDecimal studentScore ;
|
|
|
|
|
|
//课程ID
|
|
|
|
|
|
private Long courseInfoId ;
|
|
|
|
|
|
//题型(1单选 2多选 3判断)
|
|
|
|
|
|
private Integer questionType ;
|
|
|
|
|
|
//分值
|
|
|
|
|
|
private BigDecimal questionScore ;
|
|
|
|
|
|
//题干
|
|
|
|
|
|
private String questionStem ;
|
|
|
|
|
|
//选项A
|
|
|
|
|
|
private String questionOptionA ;
|
|
|
|
|
|
//选项B
|
|
|
|
|
|
private String questionOptionB ;
|
|
|
|
|
|
//选项C
|
|
|
|
|
|
private String questionOptionC ;
|
|
|
|
|
|
//选项D
|
|
|
|
|
|
private String questionOptionD ;
|
|
|
|
|
|
//选项E
|
|
|
|
|
|
private String questionOptionE ;
|
|
|
|
|
|
//答案(单选是一个 多选是多个 判断是对错)
|
|
|
|
|
|
private String questionAnswer ;
|
|
|
|
|
|
//组织ID
|
|
|
|
|
|
private Long orgId ;
|
|
|
|
|
|
//用户ID
|
|
|
|
|
|
private Long userId ;
|
|
|
|
|
|
}
|