package com.emoon.knowledge.domain.bo;

import com.emoon.common.core.validate.validate.AddGroup;
import com.emoon.common.core.validate.validate.EditGroup;
import com.emoon.common.mybatis.core.domain.BaseEntity;
import com.emoon.knowledge.domain.ThinkAgent;
import com.emoon.knowledge.domain.ThinkMcp;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 【请填写功能名称】业务对象 think_mcp
 *
 * @author wangkang
 * @date 2025-11-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = ThinkMcp.class, reverseConvertGenerate = false)
public class ThinkMcpBo extends BaseEntity {

    /**
     * 主键
     */
    private Long id;

    /**
     * MCP名称
     */
    private String mcp;

    /**
     * MCP描述
     */
    @NotBlank(message = "MCP描述不能为空", groups = { AddGroup.class, EditGroup.class })
    private String mcpintroduce;

    /**
     * MCP 出参
     */
    @NotBlank(message = "MCP 出参不能为空", groups = { AddGroup.class, EditGroup.class })
    private String mcpOutdata;

    /**
     * MCP入参
     */
    private String mcpIndata;

    /**
     * mcp地址
     */
    private String mcpUrl;

    /**
     * 序号
     */
    private Long sort;

    /**
     * 所属智能体
     */
    private String agent;

    /**
     * 0为删除，1为未删除
     */
    private Long state;


}
