Files
123123/ZA.CoreService.ESBCertificateManager/Models/AppSettings.cs
T
2026-07-28 08:03:12 +02:00

42 lines
1.0 KiB
C#

namespace ZA.CoreService.ESBCertificateManager.Models;
public sealed class AppSettings
{
public string EnvironmentCode { get; set; } = "TEST";
public string LogDirectory { get; set; } = "Logs";
public DatabaseSettings Database { get; set; } = new();
public RuntimeSettings Runtime { get; set; } = new();
public AlwaysEncryptedSettings AlwaysEncrypted { get; set; } = new();
}
public sealed class DatabaseSettings
{
public string ConnectionString { get; set; } = string.Empty;
}
public sealed class RuntimeSettings
{
public string JavaExecutablePath { get; set; } =
@"Runtime\bin\java.exe";
public string SonicClientLibraryPath { get; set; } =
@"Runtime\SonicClient\lib";
public bool SetupCompleted { get; set; }
}
public sealed class AlwaysEncryptedSettings
{
public string CertificateThumbprint { get; set; } =
string.Empty;
public string StoreName { get; set; } =
"My";
public string StoreLocation { get; set; } =
"CurrentUser";
}