using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PhilExampleCrawler.DataBase.Models { //TODO: move initialization to consuming projects config public class DBSettings { internal string Server { get; } = "12.345.678.90"; internal int Port { get; } = 1339; internal string User { get; } = "postgres"; internal string Password { get; } = "examplepw"; internal string Database { get; } = "exampledb"; public override string ToString() { return $"Server={Server};" + $"Port={Port};" + $"User Id={User};" + $"Password={Password};" + $"Database={Database};"; } } }