package com.ruoyi.learn.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

@ApiModel("答题卷")
public class AnswerSheet {
    @ApiModelProperty("考生答题卡")
    Long examineeId;
    @Excel(name = "试卷id")
    private Long paperId;
    @ApiModelProperty("测试名称")
    String name;
    @ApiModelProperty("考试开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    Date beginTime;
    @ApiModelProperty("考试结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    Date endTime;
    @ApiModelProperty("考试时间 单位秒")
    Long remaining;
    @ApiModelProperty("阅卷类型 1 自阅卷 2 老师阅卷")
    private String scoringType;
    @ApiModelProperty("考场分钟 90, 120, xxx")
    private Long mode;
    @ApiModelProperty("答卷状态 examinee_status")
    Long state;
    @ApiModelProperty("答卷状态名称")
    String stateStr;
    @ApiModelProperty("是否可答题")
    Boolean allowAnswer;
    @ApiModelProperty("是否可阅卷")
    Boolean allowScore;
}
