some work (need to thing about client and server data model as next step)
This commit is contained in:
19
OwnChar.Server/ServerSettings.cs
Normal file
19
OwnChar.Server/ServerSettings.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user