using CMSMicroservice.Application.TransactionsCQ.Queries.GetAllTransactionsByFilter;

namespace CMSMicroservice.Application.TransactionsCQ.Queries.GetTransactionSummary;

public record GetTransactionSummaryQuery : IRequest<GetTransactionSummaryResponseDto>
{
    public GetAllTransactionsByFilterFilter? Filter { get; init; }
}

public class GetTransactionSummaryResponseDto
{
    public long TotalCount { get; set; }
    public long TotalAmount { get; set; }
    public long SuccessCount { get; set; }
    public long PendingCount { get; set; }
    public long RejectCount { get; set; }
}
