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

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

/// <summary>
/// Admin: edit a value's labels/order and activate/deactivate it. Re-parenting to a different group is
/// deliberately not allowed — it would silently change the meaning of variants that already answered with
/// this value. <see cref="Id"/> comes from the route.
/// </summary>
public record UpdateServiceOptionValueCommand(
    long Id,
    string NameFa,
    string NameEn,
    int SortOrder,
    bool IsActive) : IRequest<OperationResult<OptionValueDto>>;
