20 lines
423 B
C#
20 lines
423 B
C#
using MediatR;
|
||
|
||
namespace TakeoutSaaS.Application.Identity.Commands;
|
||
|
||
/// <summary>
|
||
/// 恢复用户命令。
|
||
/// </summary>
|
||
public sealed record RestoreIdentityUserCommand : IRequest<bool>
|
||
{
|
||
/// <summary>
|
||
/// 用户 ID。
|
||
/// </summary>
|
||
public long UserId { get; init; }
|
||
|
||
/// <summary>
|
||
/// 目标租户 ID(超级管理员可选)。
|
||
/// </summary>
|
||
public long? TenantId { get; init; }
|
||
}
|