package cn.iocoder.yudao.module.knowledge.controller.requestdto;

import com.baomidou.mybatisplus.annotation.TableField;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import cn.iocoder.yudao.module.knowledge.entity.SubmitAnswer;
import cn.iocoder.yudao.module.knowledge.validated.EditGroup;
import io.swagger.v3.oas.annotations.media.Schema;
import javax.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 试卷答题卡表查询
 *
 * @author admin
 * @since 1.0.0 2024-04-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(description = "试卷答题卡表查询")
public class TTestPaperAnswerSheetRequest extends PageParam {
    @Schema(description = "主键")
   /* @NotNull(message = "id不能为空", groups = EditGroup.class)*/
    private Long id;

    @Schema(description = "试卷信息id")
    private Long testPaperInfoId;

    @Schema(description = "得分")
    private Double score;

    @Schema(description = "考生姓名")
    private String examinationName;

    @Schema(description = "考生编号")
    private String examinationNumber;

    @Schema(description = "用户id")
    private Long userId;
    @Schema(description = "提交的答案")
    private SubmitAnswer submitAnswer;

    @Schema(description = "1保存 2交卷")
    private Integer event;

    @Schema(description = "部门id")
    private String deptId;

    @Schema(description = "用户ids")
    private List<String> identityIdList;
    @Schema(description = "培训id")
    private Long trainId;

    @Schema(description = "是否是纠错")
    @TableField(exist = false)
    private String isErrorCorrection;

}
