// EN: Command to complete an order.
// VI: Command hoàn thành order.

using MediatR;

namespace OrderService.API.Application.Commands;

/// <summary>
/// EN: Command to mark order as completed.
/// VI: Command đánh dấu order hoàn thành.
/// </summary>
public record CompleteOrderCommand(
    Guid OrderId,
    Guid ShopId
) : IRequest<CompleteOrderResult>;

/// <summary>
/// EN: Result of complete order command.
/// VI: Kết quả command hoàn thành order.
/// </summary>
public record CompleteOrderResult(
    bool Success,
    string Status
);
