1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
808 B

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};";
}
}
}