using MediatR; namespace TakeoutSaaS.Application.Identity.Commands; /// /// 删除角色。 /// public sealed record DeleteRoleCommand : IRequest { /// /// 角色 ID。 /// public long RoleId { get; init; } /// /// 租户 ID(空则取当前上下文)。 /// public long? TenantId { get; init; } }