package com.agent.management.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Neo4j 知识图谱配置项（app.neo4j.*）
 */
@Data
@Component
@ConfigurationProperties(prefix = "app.neo4j")
public class Neo4jProperties {

    /** 表单预填默认值 */
    private String defaultUri = "bolt://localhost:7687";
    private String defaultUser = "neo4j";
    private String defaultPassword = "";

    /** 单次 Cypher 查询超时（秒） */
    private int queryTimeoutSeconds = 30;

    /** 单次返回最大节点数 */
    private int maxNodes = 1000;

    /** 单次返回最大边数 */
    private int maxEdges = 2000;
}
