Files
Server/OwnChar.Server/ServerSettings.cs
2024-08-15 09:20:20 +02:00

22 lines
495 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 string? ApiUrl { get; set; }
public void Reset()
{
DbServer = null;
DbUser = null;
DbPassword = null;
ApiUrl = null;
}
}