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

namespace Baya.Application.Features.Geography.Commands.SetProvinceActive;

/// <summary>Admin: toggle a province's active flag (no delete). Deactivating hides its cities/districts
/// from the public dropdowns via the active-join filter, without orphaning anything. Invalidates cache.</summary>
public record SetProvinceActiveCommand(long Id, bool IsActive) : IRequest<OperationResult<bool>>;
