#nullable enable
using Baya.Application.Models.Common;
using Baya.Application.Models.Messaging;
using Mediator;

namespace Baya.Application.Features.Messaging.Queries.ListMyTickets;

/// <summary>The caller's tickets (active participation), paginated, filterable by status and reference code, newest first.</summary>
public record ListMyTicketsQuery(
    string? Status = null,
    string? ReferenceCode = null,
    long? BookingId = null,
    int Page = 1,
    int PageSize = 50) : IRequest<OperationResult<PagedResult<TicketSummaryDto>>>;
