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

namespace Baya.Application.Features.Variants.Commands.SetVariantActive;

/// <summary>
/// The owning nurse activates/deactivates a variant. <b>Deactivate, never hard-delete.</b> A deactivated
/// variant cannot be booked and (via b7) drops out of the search index; its past bookings/snapshots are
/// untouched. <see cref="Id"/> comes from the route.
/// </summary>
public record SetVariantActiveCommand(long Id, bool IsActive) : IRequest<OperationResult<bool>>;
