#nullable enable
namespace Baya.Application.Models.Catalog;

/// <summary>
/// A pricing dimension applicable to a category, with its active values. <c>ServiceCategoryId == null</c>
/// marks a cross-category group (applies to every category). This is the skeleton the nurse builder fills
/// in and the customer browses.
/// </summary>
public record OptionGroupDto(
    long Id,
    long? ServiceCategoryId,
    string NameFa,
    string NameEn,
    bool IsRequired,
    int SortOrder,
    bool IsActive,
    IReadOnlyList<OptionValueDto> Values);
