package com.xhkjedu.smarking.model.scan;

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_scanbatch_paper")
public class MsScanbatchPaper extends BaseBean {
    @Id
    //批阅扫描试卷ID
    private Integer mspid;
    //批次ID
    private Integer batchid;
    //当前批次第几张
    private Integer batchorder;
    //试卷正面
    private String paperfront;
    //试卷反面
    private String paperback;
    //纸张宽度(像素)
    private Integer twidth;
    //纸张高度(像素)
    private Integer theight;
    //是否识别0未识别1已识别
    private Integer identified;
    //考号
    private String examno;
    //考号区域图片
    private String examnopic;
    //是否缺考0否1是
    private Integer missexam;
    //是否违规0否1是
    private Integer violated;
    //是否异常0否1是
    private Integer haserror;
    //异常类型1扫描出错 2考号有误 3考号重复 4缺考异常
    private Integer errortype;
    //状态0默认1待处理2已处理10已删除
    private Integer mspstate;
    //保存时间
    private Integer createtime;

    //扫描试卷块表
    @Transient
    private List<MsScanbatchPaperBlock> spblocks;

    @Transient
    private Integer mpid;//试卷ID
}
