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

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

/// <summary>Admin: edit a dimension's category scope (null = cross-category), labels, required flag, order.
/// <see cref="Id"/> comes from the route.</summary>
public record UpdateServiceOptionGroupCommand(
    long Id,
    long? ServiceCategoryId,
    string NameFa,
    string NameEn,
    bool IsRequired,
    int SortOrder) : IRequest<OperationResult<OptionGroupDto>>;
