// EN: Command to delete a product.
// VI: Command để xóa sản phẩm.

using MediatR;

namespace CatalogService.API.Application.Commands;

/// <summary>
/// EN: Command to delete a product.
/// VI: Command để xóa sản phẩm.
/// </summary>
public record DeleteProductCommand : IRequest<bool>
{
    /// <summary>
    /// EN: Product ID to delete.
    /// VI: ID sản phẩm cần xóa.
    /// </summary>
    public Guid ProductId { get; init; }

    public DeleteProductCommand(Guid productId)
    {
        ProductId = productId;
    }
}
