package jnpf.model.cultivate.po.exam;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import jnpf.base.entity.SuperEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 考试用户详情表
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "ftb_cultivate_exam_user_detail")
public class FtbCultivateExamUserDetail extends SuperEntity.SuperCUBaseEntity<String> {
    /**
     * 考试主键ID
     */
    @TableField(value = "F_ExamId")
    private String examId;


    /**
     * 用户考试ID
     */
    @TableField(value = "F_UserExamId")
    private String userExamId;

    /**
     * 题目ID
     */
    @TableField(value = "F_QuestionId")
    private String questionId;

    /**
     * 题库主键ID
     */
    @TableField(value = "F_ClassifyId")
    private String classifyId;

    /**
     * 题型（1单选，2多选，3判断，4填空，5简答，6组合）
     */
    @TableField(value = "F_Type")
    private Integer type;

    /**
     * 难度（1易，2中，3难）
     */
    @TableField(value = "F_Difficulty")
    private Integer difficulty;

    /**
     * 题目内容
     */
    @TableField(value = "F_Content")
    private String content;

    /**
     * 正确答案（选项ID，多个逗号分隔）
     */
    @TableField(value = "F_Answer")
    private String answer;

    /**
     * 是否回答正确（0否，1是）
     */
    @TableField(value = "F_IsRight")
    private Integer isRight;

    /**
     * 试题解析
     */
    @TableField(value = "F_Analysis")
    private String analysis;

    /**
     * 有效标志
     */
    @TableField(value = "F_EnabledMark")
    private Integer enabledMark;


    /**
     * 试卷主键Id
     */
    @TableField(value = "F_PaperId")
    private String paperId;

    /**
     * 用户主键ID
     */
    @TableField(value = "F_UserId")
    private String userId;
    /**
     * 用户提交答案
     */
    @TableField(value = "F_UserAnswer")
    private String userAnswer;

    /**
     * 题目选项备份
     */
    @TableField(value = "F_QuestionOption")
    private String questionOption;


    /**
     * 考试批次，重复考试
     */
    @TableField(value = "F_Batch")
    private String batch;

    /**
     * 题目分数
     */
    @TableField(value = "F_QuestionScore")
    private Integer questionScore;

    /**
     * 用户答题分数
     */
    @TableField(value = "F_UserScore")
    private Integer userScore;


}