添加项目文件。
This commit is contained in:
44
src/BarCode.Web.Domain/Options/AppOptions.cs
Normal file
44
src/BarCode.Web.Domain/Options/AppOptions.cs
Normal file
@@ -0,0 +1,44 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace BarCode.Web.Domain.Options
|
||||
{
|
||||
public class AppOptions
|
||||
{
|
||||
/// <summary>
|
||||
/// 数据库
|
||||
/// </summary>
|
||||
public string DBConnectionString { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// redis
|
||||
/// </summary>
|
||||
public string RedisConnectionString { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 单点数据请求地址-后端使用接口地址
|
||||
/// </summary>
|
||||
public string SingleBaseUrl { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// redis数据目录
|
||||
/// </summary>
|
||||
public string RedisDirectory { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据库类型
|
||||
/// </summary>
|
||||
public string DBType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否允许缓存
|
||||
/// </summary>
|
||||
public bool AllowCache { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 公司ID
|
||||
/// </summary>
|
||||
public int CompanyId { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user