namespace CMSMicroservice.Application.ConfigurationCQ.Commands.DeactivateConfiguration;

/// <summary>
/// Command برای غیرفعال کردن یک Configuration
/// </summary>
public record DeactivateConfigurationCommand : IRequest<Unit>
{
    /// <summary>
    /// شناسه Configuration
    /// </summary>
    public long ConfigurationId { get; init; }

    /// <summary>
    /// دلیل غیرفعال‌سازی
    /// </summary>
    public string? Reason { get; init; }
}
