// EN: Command to delete a category.
// VI: Command để xóa danh mục.

using MediatR;

namespace CatalogService.API.Application.Commands;

/// <summary>
/// EN: Command to delete a category.
/// VI: Command để xóa danh mục.
/// </summary>
public record DeleteCategoryCommand : IRequest<bool>
{
    /// <summary>
    /// EN: Category ID to delete.
    /// VI: ID danh mục cần xóa.
    /// </summary>
    public Guid CategoryId { get; init; }

    public DeleteCategoryCommand(Guid categoryId)
    {
        CategoryId = categoryId;
    }
}
