using Baya.Application.Models.Catalog;
using Baya.Application.Models.Common;
using Mediator;

namespace Baya.Application.Features.Catalog.Queries.GetCategoryOptionGroups;

/// <summary>
/// Public: a category's <b>applicable</b> option groups — its own groups plus every cross-category (NULL)
/// group — each with its active values and <c>is_required</c>, ordered by sort order. The skeleton the
/// nurse builder fills in and the customer browses. Cached reference data.
/// </summary>
public record GetCategoryOptionGroupsQuery(long CategoryId)
    : IRequest<OperationResult<IReadOnlyList<OptionGroupDto>>>;
