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;

/**
 * <p>
 * 题目选项请求参数
 * </p>
 *
 * @author ZS
 * @since 2025-10-24
 */
@Data
@Schema(description = "题目选项请求参数")
public class QuestionOptionsReq {

    @Schema(description = "题目ID")
    @NotNull(message = "题目ID不能为空")
    private Integer questionId;

    @Schema(description = "选项内容")
    @NotBlank(message = "选项内容不能为空")
    private String content;

    @Schema(description = "选项顺序")
    private Integer sort;
}