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.io.Serializable;
import java.util.List;

/**
 * 添加知识点映射关系
 */
@Data
@Schema(description = "添加知识点映射关系请求参数")
public class AddKnowledgePointUnitMappingReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "目标知识点ID")
    @NotNull(message = "目标知识点ID不能为空")
    private Integer targetKnowledgePointId;

    @Schema(description = "待添加的单元Id")
    @NotNull(message = "待添加的单元Id不能为空")
    private Integer sourceUnitId;

    private String sourceKnowledgePointName;

    private String sourceKnowledgePointSummary;

    @NotNull(message = "排序不能为空")
    @Schema(description = "排序")
    private Integer sort;
}