package com.smqjh.agent.mcp;

public class AppConfig {
    public String environmentName = "test-gateway";
    public String baseUrl = "http://192.168.1.242:8080";
    public String tenantCode = "zswl";
    public String tenantDomain = "192.168.0.11";
    public String desktopConfigPath = "";
    public int requestTimeoutMs = 15000;
    public boolean dryRun = true;
    public McpConfig mcp = new McpConfig();
    public DeepSeekConfig deepSeek = new DeepSeekConfig();
    public DatabaseConfig database = new DatabaseConfig();
    public AuthConfig auth = new AuthConfig();

    public static class McpConfig {
        public boolean enabled = true;
        public String host = "127.0.0.1";
        public int port = 8765;
        public String path = "/mcp";
        public String authToken = "";
        public boolean allowExternal = false;
    }

    public static class DeepSeekConfig {
        public boolean enabled = true;
        public String baseURL = "https://api.deepseek.com";
        public String apiKey = "";
        public String model = "deepseek-v4-pro";
        public String reasoningEffort = "high";
    }

    public static class DatabaseConfig {
        public boolean enabled = false;
        public String host = "";
        public int port = 3306;
        public String database = "smqjh_pms";
        public String username = "";
        public String password = "";
    }

    public static class AuthConfig {
        public String tokenPath = "/smqjh-auth/oauth2/token";
        public String clientId = "mall-admin";
        public String clientSecret = "123456";
        public String grantType = "password";
    }
}
