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

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

/// <summary>
/// Admin: toggle a category's active flag. <b>Soft state only — never hard-delete.</b> Deactivating hides
/// the category from public browse and from new variant creation; existing variants in it are left intact
/// (their bookings/history survive via the booking snapshot). <see cref="Id"/> comes from the route.
/// </summary>
public record SetServiceCategoryActiveCommand(long Id, bool IsActive) : IRequest<OperationResult<bool>>;
