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

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import javax.validation.constraints.NotNull;
import cn.iocoder.yudao.module.knowledge.validated.EditGroup;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import javax.validation.constraints.NotBlank;


/**
 * 试卷题干表查询
 *
 * @author admin
 * @since 1.0.0 2024-04-24
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(description = "试卷题干表查询")
public class TTestPaperQuestionStemRequest extends PageParam {
    @Schema(description = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(
            description = "试卷id",
            example = "1"
    )
    private Long testPaperId;

    @Schema(
            description = "文件地址",
            example = "/dev/dsdhsd.doc"
    )
    private String fileUrl;

    @Schema(
            description = "内容",
            example = "123"
    )
    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 = "fdjasdnfj"
    )
    private String analysis;

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

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

    @Schema(
            description = "分值",
            example = "5"
    )
    private Double score;

    @Schema(
            description = "序号",
            example = "1"
    )
    private String order;

    @Schema(
            description = "用户标识",
            example = "1"
    )
    private String usercode;
}
