package com.lingyue.graph.dto;

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

import java.util.List;

/**
 * 批量创建图关系请求 DTO
 *
 * @author lingyue
 * @since 2026-01-19
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "批量创建图关系请求")
public class BatchCreateRelationsRequest {

    @Schema(description = "关系列表", required = true)
    private List<CreateRelationRequest> relations;

    @Schema(description = "是否跳过不存在的节点", example = "true")
    @Builder.Default
    private Boolean skipInvalidNodes = true;
}
