package com.seer.teach.admin.request;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.util.List;

/**
 * 题目预览请求参数
 */
@Data
@Schema(description = "题目预览请求参数")
public class QuestionPreviewReq {

    @Schema(description = "题目")
    @NotBlank(message = "题目不能为空")
    private String question;

    @Schema(description = "答案")
    private String answer;

    @Schema(description = "解题过程")
    private String solution;

    @Schema(description = "0其他题型  1单选选择题 2多选选择题 3问答题 4判断题")
    @NotNull(message = "题型不能为空")
    private Integer type;

    @Schema(description = "选项列表")
    private List<String> options;


}