package com.xhkjedu.smarking.model.paper;

import com.xhkjedu.model.BaseBean;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.List;

/**
 * @Description 阅卷试卷题型试题表
 * @Author auto
 * @Date 2024-10-15
 */
@Data
@Table(name = "ms_paper_qtype_question")
public class MsPaperQtypeQuestion extends BaseBean {
    @Id
    //阅卷试卷题型试题ID
    private Integer mptqid;
    //试卷题型表id
    private Integer mptid;
    //试卷表id
    private Integer mpid;
    //处理题型
    private Integer ctype;
    //试题类型1客观题2主观题
    private Integer qtype;
    //试题id
    private String questionid;
    //试题母题ID
    private String questionpid;
    //题型id
    private String qtypeid;
    //题型名称
    private String qtypename;
    //题号
    private String qn;
    //题号拼接大题
    private String qnstr;
    //试题分值
    private Double qscore;
    //试题排序
    private Integer qorder;
    //选项数量
    private Integer optionnum;
    //正确答案
    private String qanswer;
    //少选分值
    private Double loseoption;
    //分值设置0默认1送分题 2 0分题
    private Integer scoreset;
    //试题难易度
    private Integer complexity;
    //第几张图
    private Integer pagenum;
    //题干区域坐标
    private String stemcoor;
    //试题区域坐标
    private String quecoor;


    //试题知识点
    @Transient
    private List<MsPaperQtypeQuestionPoint> points;

    @Transient
    private String mptqn;//大题题号
    @Transient
    private Integer mptnum;//题型下试题数量
    @Transient
    private Double mptscore;//题型下试题分值
}
