docs: 补全租户与字典模块注释

This commit is contained in:
2025-12-12 11:29:15 +08:00
parent 641598de86
commit 2da009c68a
17 changed files with 220 additions and 17 deletions

View File

@@ -9,18 +9,39 @@ namespace TakeoutSaaS.Application.Dictionary.Models;
/// </summary>
public sealed class DictionaryGroupDto
{
/// <summary>
/// 分组 ID。
/// </summary>
[JsonConverter(typeof(SnowflakeIdJsonConverter))]
public long Id { get; init; }
/// <summary>
/// 分组编码。
/// </summary>
public string Code { get; init; } = string.Empty;
/// <summary>
/// 分组名称。
/// </summary>
public string Name { get; init; } = string.Empty;
/// <summary>
/// 字典作用域。
/// </summary>
public DictionaryScope Scope { get; init; }
/// <summary>
/// 描述。
/// </summary>
public string? Description { get; init; }
/// <summary>
/// 是否启用。
/// </summary>
public bool IsEnabled { get; init; }
/// <summary>
/// 字典项集合。
/// </summary>
public IReadOnlyList<DictionaryItemDto> Items { get; init; } = Array.Empty<DictionaryItemDto>();
}