package com.njcn.gather.steady.datavie.config;

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

/**
 * 稳态趋势 InfluxDB 配置。
 */
@Data
@Component
@ConfigurationProperties(prefix = "steady.influxdb")
public class SteadyInfluxDbProperties {

    private String url;

    private String database;

    private String username;

    private String password;

    private Boolean ssl = false;

    private Integer connectTimeoutMs = 5000;

    private Integer readTimeoutMs = 30000;
}
