package com.ruoyi.system.domain.paper;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 考试记录考题
 * @TableName el_paper_qu
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ElPaperQu implements Serializable {
    /**
     * ID
     */
    @TableId
    private String id;

    /**
     * 试卷ID
     */
    private String paperId;

    /**
     * 题目ID
     */
    private String quId;

    /**
     * 题目类型
     */
    private Integer quType;

    /**
     * 是否已答
     */
    private Boolean answered;

    /**
     * 主观答案
     */
    private String answer;

    /**
     * 问题排序
     */
    private Integer sort;

    /**
     * 单题分分值
     */
    private Integer score;

    /**
     * 实际得分(主观题)
     */
    private Integer actualScore;

    /**
     * 是否答对
     */
    private Boolean isRight;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}