Files
mixtape/zero.Core/Configuration.cs
T
2020-03-25 00:47:14 +01:00

56 lines
1.1 KiB
C#

namespace zero.Core
{
public class BackofficeConfiguration : IBackofficeConfiguration
{
public string DefaultLanguage { get; set; }
public string SystemUserId { get; set; }
public FoldersConfig Folders { get; set; }
public RavenConfig Raven { get; set; }
public LoggingConfig Logging { get; set; }
}
public interface IBackofficeConfiguration
{
string DefaultLanguage { get; set; }
string SystemUserId { get; set; }
FoldersConfig Folders { get; set; }
RavenConfig Raven { get; set; }
LoggingConfig Logging { get; set; }
}
public class FoldersConfig
{
public string Temp { get; set; }
}
public class LoggingConfig
{
public bool IncludeScopes { get; set; }
public LogLevel LogLevel { get; set; }
}
public class LogLevel
{
public string Default { get; set; }
public string System { get; set; }
public string Microsoft { get; set; }
}
public class RavenConfig
{
public string Url { get; set; }
public string Database { get; set; }
public string License { get; set; }
}
}