21 lines
482 B
C#
21 lines
482 B
C#
using MediatR;
|
||
using TakeoutSaaS.Application.Identity.Contracts;
|
||
|
||
namespace TakeoutSaaS.Application.Identity.Queries;
|
||
|
||
/// <summary>
|
||
/// 查询角色详情(含权限)。
|
||
/// </summary>
|
||
public sealed class RoleDetailQuery : IRequest<RoleDetailDto?>
|
||
{
|
||
/// <summary>
|
||
/// 角色 ID。
|
||
/// </summary>
|
||
public long RoleId { get; init; }
|
||
|
||
/// <summary>
|
||
/// 租户 ID(空则取当前上下文)。
|
||
/// </summary>
|
||
public long? TenantId { get; init; }
|
||
}
|