package com.seer.teach.admin.request;

import com.seer.teach.admin.response.KnowledgePointSplitResp;
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.List;

/**
 * 批量保存拆分知识点请求参数
 */
@Data
@Schema(description = "批量保存拆分知识点请求参数")
public class BatchSaveSplitKnowledgePointsReq {

    @Schema(description = "原始知识点ID")
    @NotNull(message = "原始知识点ID不能为空")
    private Integer oldKnowId;

    private Integer unitId;

    @Schema(description = "拆分后的知识点列表")
    @NotNull(message = "拆分后的知识点列表不能为空")
    private List<KnowledgePointSplitResp> knowledgePoints;
}