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.NotNull;
import java.util.Set;

/**
 * <p>
 * 生成任务请求参数
 * </p>
 *
 * @author Lingma
 * @since 2025-12-11
 */
@Data
@Schema(description = "生成任务请求参数")
public class GenerateTaskReq {

    @Schema(description = "教学目标ID")
    @NotNull(message = "教学目标ID不能为空")
    private Integer goalId;

    @Schema(description = "用户ID")
    private Integer userId;

    @Schema(description = "任务ID")
    private String taskId;

    @Schema(description = "场景编码")
    private String scenarioCode;

    private Integer gradeId;

    private Integer textId;

    @Schema(description = "年级ID列表")
    private Set<Integer> gradeIds;

    @Schema(description = "知识点Id")
    private Integer knowId;

    private Set<Integer> knowIds;

    @Schema(description = "生成题目的数量")
    @NotNull(message = "生成题目数量不能为空")
    private Integer count = 1;

    private Integer gradeType;

    private Integer subjectId;

    private Set<Integer> subjectIds;

    private Integer versionId;

    private Set<Integer> versionIds;

    private String summary;

}