using MediatR;
using TakeoutSaaS.Application.Identity.Contracts;

namespace TakeoutSaaS.Application.Identity.Queries;

/// <summary>
/// 查询角色模板权限列表。
/// </summary>
public sealed class RoleTemplatePermissionsQuery : IRequest<IReadOnlyList<PermissionTemplateDto>>
{
    /// <summary>
    /// 模板编码。
    /// </summary>
    public string TemplateCode { get; init; } = string.Empty;
}
