docs: 完善身份模块文档注释与字段说明

This commit is contained in:
2025-12-12 11:08:39 +08:00
parent 715cbb3d36
commit 641598de86
36 changed files with 409 additions and 37 deletions

View File

@@ -7,7 +7,18 @@ namespace TakeoutSaaS.Application.Identity.Commands;
/// </summary>
public sealed record BindRolePermissionsCommand : IRequest<bool>
{
/// <summary>
/// 角色 ID。
/// </summary>
public long RoleId { get; init; }
/// <summary>
/// 租户 ID可选空则取当前上下文
/// </summary>
public long? TenantId { get; init; }
/// <summary>
/// 权限 ID 集合。
/// </summary>
public long[] PermissionIds { get; init; } = Array.Empty<long>();
}