refactor: 移除平台管理员残留定义

This commit is contained in:
root
2026-01-29 12:25:54 +00:00
parent c7307c1942
commit 0d9402d204
9 changed files with 9 additions and 10 deletions

View File

@@ -10,7 +10,7 @@ namespace TakeoutSaaS.Application.Identity.Commands;
public sealed record BatchIdentityUserOperationCommand : IRequest<BatchIdentityUserOperationResult>
{
/// <summary>
/// 目标租户 ID超级管理员可选)。
/// 目标租户 ID可选,默认当前登录租户;禁止跨租户操作)。
/// </summary>
public long? TenantId { get; init; }

View File

@@ -14,7 +14,7 @@ public sealed record ChangeIdentityUserStatusCommand : IRequest<bool>
public long UserId { get; init; }
/// <summary>
/// 目标租户 ID超级管理员可选)。
/// 目标租户 ID可选,默认当前登录租户;禁止跨租户操作)。
/// </summary>
public long? TenantId { get; init; }

View File

@@ -11,7 +11,7 @@ namespace TakeoutSaaS.Application.Identity.Commands;
public sealed record CreateIdentityUserCommand : IRequest<UserDetailDto>
{
/// <summary>
/// 目标租户 ID超级管理员可选)。
/// 目标租户 ID可选,默认当前登录租户;禁止跨租户操作)。
/// </summary>
public long? TenantId { get; init; }

View File

@@ -13,7 +13,7 @@ public sealed record DeleteIdentityUserCommand : IRequest<bool>
public long UserId { get; init; }
/// <summary>
/// 目标租户 ID超级管理员可选)。
/// 目标租户 ID可选,默认当前登录租户;禁止跨租户操作)。
/// </summary>
public long? TenantId { get; init; }
}

View File

@@ -14,7 +14,7 @@ public sealed record ResetIdentityUserPasswordCommand : IRequest<ResetIdentityUs
public long UserId { get; init; }
/// <summary>
/// 目标租户 ID超级管理员可选)。
/// 目标租户 ID可选,默认当前登录租户;禁止跨租户操作)。
/// </summary>
public long? TenantId { get; init; }
}

View File

@@ -13,7 +13,7 @@ public sealed record RestoreIdentityUserCommand : IRequest<bool>
public long UserId { get; init; }
/// <summary>
/// 目标租户 ID超级管理员可选)。
/// 目标租户 ID可选,默认当前登录租户;禁止跨租户操作)。
/// </summary>
public long? TenantId { get; init; }
}

View File

@@ -15,7 +15,7 @@ public sealed record UpdateIdentityUserCommand : IRequest<UserDetailDto?>
public long UserId { get; init; }
/// <summary>
/// 目标租户 ID超级管理员可选)。
/// 目标租户 ID可选,默认当前登录租户;禁止跨租户操作)。
/// </summary>
public long? TenantId { get; init; }

View File

@@ -11,7 +11,7 @@ namespace TakeoutSaaS.Application.Identity.Queries;
public sealed record SearchIdentityUsersQuery : IRequest<PagedResult<UserListItemDto>>
{
/// <summary>
/// 租户 ID超级管理员可选)。
/// 租户 ID可选,默认当前登录租户;禁止跨租户查询)。
/// </summary>
public long? TenantId { get; init; }