some work (need to thing about client and server data model as next step)

This commit is contained in:
2024-07-18 16:42:35 +02:00
parent ee2d734d33
commit ecbb3c0ab7
7 changed files with 99 additions and 53 deletions

View File

@@ -0,0 +1,19 @@
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;
}
}