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

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import cn.iocoder.yudao.framework.common.pojo.PageParam;

import java.util.List;


/**
 * 题干表查询
 *
 * @author admin
 * @since 1.0.0 2024-04-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(description = "题干表查询")
public class TQuestionStemRequest extends PageParam {
    @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;
    //关键字
    private String keyContent;

    @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 = "解析url", example = "解析")
    private String analysisFileUrl;

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

    @Schema(description = "题干编码", example = "A02")
    private String code;

    @Schema(description = "题答案List")
    private List<TQuestionAnswersRequest> answersRequestList;

    private List<Long> bankIdList;

}
