添加项目文件。
This commit is contained in:
60
Atomx.Common/Configuration/GeneralConfig.cs
Normal file
60
Atomx.Common/Configuration/GeneralConfig.cs
Normal file
@@ -0,0 +1,60 @@
|
||||
namespace Atomx.Common.Configuration
|
||||
{
|
||||
/// <summary>
|
||||
/// 系统基本配置
|
||||
/// </summary>
|
||||
public class GeneralConfig
|
||||
{
|
||||
/// <summary>
|
||||
/// 名称
|
||||
/// </summary>
|
||||
public string Name { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 网站的LOGO
|
||||
/// </summary>
|
||||
public string Logo { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Meta 关键词
|
||||
/// </summary>
|
||||
public string Keywords { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Meta 介绍
|
||||
/// </summary>
|
||||
public string Description { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 域名
|
||||
/// </summary>
|
||||
public string Domain { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 联系我们邮箱
|
||||
/// </summary>
|
||||
public string ContactEmail { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 是否启用登录错误
|
||||
/// </summary>
|
||||
public bool EnableLoginErrorLock { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 登录错误最大上限
|
||||
/// </summary>
|
||||
public int LoginErrorMaxUpper { get; set; } = 5;
|
||||
|
||||
/// <summary>
|
||||
/// 登录错误锁定时长
|
||||
/// </summary>
|
||||
public int LoginErrorLockDuration { get; set; } = 30;
|
||||
|
||||
/// <summary>
|
||||
/// 是否多个法定货币钱包
|
||||
/// </summary>
|
||||
public bool MultipleLegalTenderWallets { get; set; } = false;
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user