package org.springblade.modules.simulateexam.entity;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import lombok.Data;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* 模拟考试答题记录实体类
|
*
|
* @author zhongrj
|
* @since 2020-02-23
|
*/
|
@Data
|
@TableName("simulate_exam_answer_record")
|
public class SimulateExamAnswerRecord implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键id
|
*/
|
@TableId(value = "id",type = IdType.ASSIGN_ID)
|
private Long id;
|
|
/**
|
* 题目id
|
*/
|
private Long subjectChoicesId;
|
|
/**
|
* 题目类型 0:单选题 1:多选题 2:判断题 3:实操题(排序填空)
|
*/
|
private Integer subjectChoicesType;
|
|
|
/**
|
* 提交的选项 A,B,C....
|
*/
|
private String answerOption;
|
|
/**
|
* 答案
|
*/
|
private String answer;
|
|
/**
|
* 答题时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date answerTime;
|
|
/**
|
* 本题得分
|
*/
|
private Integer answerScore;
|
|
/**
|
* 答题结果 1:答对 2:答错
|
*/
|
private Integer answerResult;
|
|
/**
|
* 身份证号码
|
*/
|
private String idCardNo;
|
|
/**
|
* 模拟考试记录 id
|
*/
|
private Long simulateExamId;
|
|
|
}
|