namespace Wood.Util
{
///
/// 系统配置
///
public class SystemConfig
{
///
/// 是否开启数据库初始化
///
public bool EnableInitDb { get; set; }
///
/// Snow Flake Worker Id
/// 雪花id 节点序号
///
public int SnowFlakeWorkerId { get; set; }
///
/// 允许跨域的站点
///
public string AllowCorsSite { get; set; } = "";
///
/// 数据库类型
///
public string DBProvider { get; set; } = "";
///
/// 数据库字符串
///
public string DBConnectionString { get; set; } = "";
///
/// 数据库超时间(秒)
///
public int DBCommandTimeout { get; set; }
///
/// 数据库备份路径
///
public string DBBackup { get; set; } = "";
///
/// 缓存方式
///
public string CacheProvider { get; set; } = "";
///
/// redis链接字符串
///
public string RedisConnectionString { get; set; } = "";
///
/// 是否开启差异化日志
///
public bool DBEnableDiffLog { get; set; }
///
/// 是否执行自动job
///
public bool RunAutoJob { get; set; }
///
/// 系统保存的日志天数
///
public int LogDays { get; set; } = 90;
public string CustomerDb { get; set; } = "";
}
}