Files
Server/OwnChar.Server/ServerSettings.cs

20 lines
432 B
C#

using Pilz.Configuration;
namespace OwnChar.Server;
public class ServerSettings : IChildSettings, ISettingsIdentifier
{
public static string Identifier => "ownchar.server.data.sql";
public string? DbServer { get; set; }
public string? DbUser { get; set; }
public string? DbPassword { get; set; }
public void Reset()
{
DbServer = null;
DbUser = null;
DbPassword = null;
}
}