package com.pavis.admin.aigc.model.req;

import jakarta.validation.constraints.*;

import lombok.Data;

import io.swagger.v3.oas.annotations.media.Schema;

import java.io.Serial;
import java.io.Serializable;
import java.time.*;

/**
 * 智能体和知识库关联创建或修改参数
 *
 * @author semi
 * @since 2025/05/26 17:28
 */
@Data
@Schema(description = "智能体和知识库关联创建或修改参数")
public class AgentKnowledgeReq implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 智能体ID
     */
    @Schema(description = "智能体ID")
    @NotNull(message = "智能体ID不能为空")
    private Long agentId;

    /**
     * 知识库ID
     */
    @Schema(description = "知识库ID")
    @NotNull(message = "知识库ID不能为空")
    private Long knowledgeId;

    /**
     * 创建人
     */
    @Schema(description = "创建人")
    @NotNull(message = "创建人不能为空")
    private Long createUser;

    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    @NotNull(message = "创建时间不能为空")
    private LocalDateTime createTime;
}