namespace AAIntegration.SimmonsBank.API.Configs;

public class DatabaseConfig
{
    public string Host { get; set; }
    public string Name { get; set; }
    public string User { get; set; }
    public string Password { get; set; }
    public uint Port { get; set; }

    public string GetConnectionString()
    {
        return $"Server={Host};Port={Port};Database={Name};User Id={User};Password={Password}";
    }
}
