package com.ruoyi.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.GnhzBaseEntity;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.ArrayList;
import java.util.List;

/**
 * @program: RuoYi-Vue-master
 * @description: 员工课程考题表
 * @author: niujie
 * @create: 2023-08-21 19:34
 **/
@Data
@NotBlank
public class EmployeeCourseExamDto extends GnhzBaseEntity {
    //题目标题
    private String questionTitle;

    //题目选项
    private String questionOption;

    //题目答案
    private String questionAnscha;

    //题目类型
    private String questionTypes;

    //题目ID
    private String questionBankId;

    //培训计划id
    private String trainingPlanId;

    //题目分值
    private Integer questionScore;

    private String paperId;

    //题目选项(数组)
    @TableField(exist = false)
    private List<String> questionOptions;

    //答案数组
    @TableField(exist = false)
    private List<String> questionAnschas;

    //提交答案
    @TableField(exist = false)
    private List<String> submitAnswers;
}
