package cn.iocoder.yudao.module.knowledge.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.*;
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;

import java.util.List;


/**
 * 题干表
 *
 * @author admin
 * @since 1.0.0 2024-04-16
 */

@Data
@TableName("t_question_stem")
@Schema(description = "题干类")
public class TQuestionStem extends BaseDO {

    @Schema(description = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "题库id", example = "1")
    private Long questionBankId;

    @Schema(description = "题库名字", example = "题库1")
    private String questionBankName;

    @Schema(description = "内容", example = "def")
    private String content;

    @Schema(description = "类型 0:单选题 1:多选题 2:判断题 3:填空题 4:简答题", example = "1")
    private String type;

    @Schema(description = "级别 0:容易 1:较易 2:普通 3:较难 4:困难", example = "1")
    private String level;

    @Schema(description = "文件地址", example = "/d/kdl")
    private String fileUrl;

    @Schema(description = "解析", example = "答案")
    private String analysis;

    @Schema(description = "解析文件地址", example = "答案")
    private String analysisFileUrl;

    @Schema(description = "正确答案", example = "A")
    private String rightAnswers;

    @Schema(description = "题干编码", example = "A02")
    private String code;
    //关键字
    private String keyContent;

    @TableField(exist = false)
    @Schema(description = "题目选项", example = "A02")
    private List<TQuestionAnswers> answersRequestList;
}
