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

namespace Baya.Application.Features.Reviews.Queries.GetReviewEligibility;

/// <summary>Owner-scoped: can the caller review this booking? Returns a stable reason when not, so the CTA/form
/// gates without probing the 1:1 conflict. The booking id comes from the route.</summary>
public record GetReviewEligibilityQuery(long BookingId) : IRequest<OperationResult<ReviewEligibilityDto>>;
