using MediatR;
using TakeoutSaaS.Application.App.Orders.Dto;

namespace TakeoutSaaS.Application.App.Orders.Commands;

/// <summary>
/// 确认送达/取餐命令。
/// </summary>
public sealed record ConfirmDeliveryCommand : IRequest<OrderBoardCardDto>
{
    /// <summary>
    /// 订单标识。
    /// </summary>
    public required long OrderId { get; init; }

    /// <summary>
    /// 租户标识。
    /// </summary>
    public required long TenantId { get; init; }

    /// <summary>
    /// 操作人标识。
    /// </summary>
    public long? OperatorId { get; init; }
}
