package com.ruoyi.entity;

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 java.util.ArrayList;
import java.util.List;

/**
 * @program: RuoYi-Vue-master
 * @description: 员工课程考题表
 * @author: niujie
 * @create: 2023-08-21 19:34
 **/
@Data
@TableName("employee_course_exam")
public class EmployeeCourseExam extends GnhzBaseEntity {
    //id
    @TableId(value = "id",type = IdType.ASSIGN_UUID)
    private String id;

    //考试记录表ID
    @TableField("employee_course_exam_records_id")
    private String employeeCourseExamRecordsId;

    //题目标题
    @TableField("question_title")
    private String questionTitle;

    //题目选项
    @TableField("question_option")
    private String questionOption;

    //题目答案
    @TableField("question_anscha")
    private String questionAnscha;

    //题目类型
    @TableField("question_types")
    private String questionTypes;

    //提交答案
    @TableField("submit_answers")
    private String submitAnswers;

    //题目分值
    @TableField("question_score")
    private Integer questionScore;

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

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

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