using CMSMicroservice.Application.Common.Models;
using CMSMicroservice.Domain.Enums;

namespace CMSMicroservice.Application.PackageCQ.Queries.GetCustomerPurchaseHistory;

public class GetCustomerPurchaseHistoryResponseDto
{
    public MetaData MetaData { get; set; }
    public List<PackagePurchaseHistoryDto> Purchases { get; set; } = new();
}

public class PackagePurchaseHistoryDto
{
    public long Id { get; set; }
    public long PackageId { get; set; }
    public string PackageName { get; set; }
    public long Amount { get; set; }
    public int PackageType { get; set; }
    public DateTime PurchaseDate { get; set; }
    public DateTime? ExpiryDate { get; set; }
    public PaymentStatus Status { get; set; }
    public string StatusMessage { get; set; }
    public string ReferenceCode { get; set; }
}
