using System.Collections.Generic;
namespace HT.Cloud.Code.Model
{
public class SystemConfig
{
///
/// 是否是Demo模式
///
public bool Demo { get; set; }
///
/// 系统备注
///
public string GroupDescription { get; set; }
///
/// 是否是调试模式
///
public bool Debug { get; set; }
///
/// 允许一个用户在多个电脑同时登录
///
public bool LoginMultiple { get; set; }
///
/// 允许跨域的站点
///
public string AllowCorsSite { get; set; }
public string DBProvider { get; set; }
public string DBConnectionString{ get; set; }
public int DBCommandTimeout { get; set; }
public string CacheProvider { get; set; }
public string RedisConnectionString { get; set; }
public string TokenName { get; set; }
//缓存过期时间
public int LoginExpire { get; set; }
public string HomePage { get; set; }
public bool? LocalLAN { get; set; }
///
/// 数据库模式
///
public string SqlMode { get; set; }
///
/// 项目前缀
///
public string ProjectPrefix { get; set; }
///
/// 是否重置密码
///
public bool? ReviseSystem { get; set; }
public int? LoginErrorCount { get; set; }
///
/// 多数据库组
///
public List SqlConfig { get; set; }
///
/// 是否集群
///
public bool? IsCluster { get; set; }
///
/// 是否删除定时调度任务
///
public bool? NeedClear { get; set; }
///
/// 主程序数据库编号
///
public string MainDbNumber { get; set; }
///
/// 数据仓库数据库编号
///
public string DataDBNumber { get; set; }
///
/// 是否开启定时任务
///
public bool? OpenQuartz { get; set; }
public DocumentSettings DocumentSettings { get; set; }
public MqConfig RabbitMq { get; set; }
}
public class DocumentSettings
{
public string DocumentTitle { get; set; }
public List GroupOpenApiInfos { get; set; }
}
public class GroupOpenApiInfo
{
public string Group { get; set; }
public string Title { get; set; }
public string Description { get; set; }
public string Version { get; set; }
}
public class DBConfig
{
///
/// 数据库序号
///
public string DBNumber { get; set; }
///
/// 数据库类型
///
public string DBProvider { get; set; }
///
/// 数据库连接
///
public string DBConnectionString { get; set; }
}
}