package com.cameleer.server.app.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "cameleer.server.clickhouse")
public class ClickHouseProperties {

    private String url = "jdbc:clickhouse://localhost:8123/cameleer";
    private String username = "default";
    private String password = "";
    private int poolSize = 50;

    public String getUrl() { return url; }
    public void setUrl(String url) { this.url = url; }

    public String getUsername() { return username; }
    public void setUsername(String username) { this.username = username; }

    public String getPassword() { return password; }
    public void setPassword(String password) { this.password = password; }

    public int getPoolSize() { return poolSize; }
    public void setPoolSize(int poolSize) { this.poolSize = poolSize; }
}
