33 lines
813 B
C#
33 lines
813 B
C#
namespace TakeoutSaaS.Infrastructure.App.Options;
|
|
|
|
/// <summary>
|
|
/// 业务数据种子配置。
|
|
/// </summary>
|
|
public sealed class AppSeedOptions
|
|
{
|
|
/// <summary>
|
|
/// 配置节名称。
|
|
/// </summary>
|
|
public const string SectionName = "App:Seed";
|
|
|
|
/// <summary>
|
|
/// 是否启用业务数据种子。
|
|
/// </summary>
|
|
public bool Enabled { get; set; }
|
|
|
|
/// <summary>
|
|
/// 默认租户配置。
|
|
/// </summary>
|
|
public TenantSeedOptions? DefaultTenant { get; set; }
|
|
|
|
/// <summary>
|
|
/// 基础字典分组。
|
|
/// </summary>
|
|
public List<DictionarySeedGroupOptions> DictionaryGroups { get; set; } = new();
|
|
|
|
/// <summary>
|
|
/// 系统参数配置。
|
|
/// </summary>
|
|
public List<SystemParameterSeedOptions> SystemParameters { get; set; } = new();
|
|
}
|