#nullable enable
using Baya.Application.Models.Catalog;
using Baya.Application.Models.Common;
using Mediator;

namespace Baya.Application.Features.Catalog.Commands.CreateServiceOptionGroup;

/// <summary>
/// Admin: add a pricing dimension. <see cref="ServiceCategoryId"/> == <c>null</c> makes it
/// <b>cross-category</b> (applies to every category). Invalidates the catalog cache.
/// </summary>
public record CreateServiceOptionGroupCommand(
    long? ServiceCategoryId,
    string NameFa,
    string NameEn,
    bool IsRequired,
    int SortOrder) : IRequest<OperationResult<OptionGroupDto>>;
