namespace CMSMicroservice.Application.PaymentTransactionCQ.Queries.GetPaymentTransactionSummary;

public record GetPaymentTransactionSummaryQuery : IRequest<GetPaymentTransactionSummaryResponseDto>
{
    public GetAllPaymentTransactionByFilter.GetAllPaymentTransactionByFilterFilter? Filter { get; init; }
}

public class GetPaymentTransactionSummaryResponseDto
{
    public long TotalCount { get; set; }
    public long TotalAmount { get; set; }
    public long SuccessfulCount { get; set; }
    public long PendingCount { get; set; }
}
