package org.ts.ddcs.Config;

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

@Component
@Configuration
@ConfigurationProperties(prefix = "run-config.database.relay", ignoreUnknownFields = false)
@Data
public class DataBaseRelayConfig {
    private boolean relay;
    private String url;
    private String username;
    private String password;
    private String dbtype;
}
