package com.xhkjedu.smarking.model.stupaper;

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_student_block")
public class MsPaperStudentBlock extends BaseBean {
    @Id
    //阅卷试卷学生题块ID
    private Integer mpsbid;
    //考试ID
    private Integer examid;
    //试卷ID
    private Integer mpid;
    //科目ID
    private String subjectid;
    //题块ID
    private Integer mblockid;
    //学生ID
    private Integer studentid;
    //试卷学生ID
    private Integer mpsid;
    //学生答案图片
    private String stuanswer;
    //学生批改后图片
    private String stumerge;
    //是否转换0默认1待转换2转换成功3转换失败
    private Integer converted;
    //是否批阅0默认1待批阅2批阅中3已批阅
    private Integer checked;
    //优秀试卷0默认1优秀
    private Integer hasgood;
    //违纪试卷0默认1违纪
    private Integer hasbad;
    //单评批改人
    private Integer firstcid;
    //单评批改时间
    private Integer firstcime;
    //单评批改分值
    private Double firstccore;
    //单评批改分值数组
    private String firstccores;
    //复评批改人
    private Integer secondcid;
    //复评批改时间
    private Integer secondctime;
    //复评批改分值
    private Double secondcscore;
    //复评批改分值数组
    private String secondcscores;
    //仲裁人
    private Integer arbitrateid;
    //仲裁时间
    private Integer arbitratetime;
    //仲裁分值
    private Double arbitratescore;
    //仲裁状态0默认1待仲裁2仲裁中3已仲裁
    private Integer arbitratestate;
    //疑难0默认1疑难2处理中3已处理
    private Integer hasproblem;
    //疑难类型1图形模糊2答题错位3没有图像4图像颠倒5其他问题
    private Integer problemtype;
    //疑难备注
    private String problemcomm;
    //疑难卷标记人ID
    private Integer probleid;
    //疑难卷处理人ID
    private Integer problehid;
    //是否最终批改结果0否1是
    private Integer hasfinal;
    //最终批改原因1仲裁2学科组长批
    private Integer finalreason;
    //创建时间
    private Integer createtime;

    //学生题块下试题
    @Transient
    private List<MsPaperStudentQuestion> questions;
    //题块类型1客观题2主观题
    @Transient
    private Integer blocktype;
}
