using Baya.Application.Models.Common;
using Baya.Application.Models.Refunds;
using Mediator;

namespace Baya.Application.Features.Refunds.Queries.GetRefundByBooking;

/// <summary>Reaches the customer's own refund from its booking id (owner-scoped). 404 when the booking has no
/// refund — the customer holds the booking id, not the refund id.</summary>
public record GetRefundByBookingQuery(long BookingId) : IRequest<OperationResult<RefundStatusDto>>;
