// EN: Command to add a drink to the barista preparation queue.
// VI: Command de them do uong vao hang doi pha che barista.

using MediatR;

namespace FnbEngine.API.Application.Commands;

/// <summary>
/// EN: Command to queue a drink for barista preparation.
/// VI: Command de xep hang do uong cho barista pha che.
/// </summary>
public record QueueDrinkCommand(
    Guid ShopId,
    Guid OrderId,
    Guid OrderItemId,
    string DrinkName,
    string? Customizations = null,
    int Priority = 0,
    int EstimatedMinutes = 5
) : IRequest<QueueDrinkResult>;

/// <summary>
/// EN: Result of queue drink command.
/// VI: Ket qua cua queue drink command.
/// </summary>
public record QueueDrinkResult(
    Guid QueueItemId,
    string DrinkName,
    int Priority,
    int EstimatedMinutes,
    string Status
);
