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

namespace CMSMicroservice.Application.UserOrderCQ.Queries.GetCustomerOrderHistory;

public class GetCustomerOrderHistoryResponseDto
{
    public MetaData MetaData { get; set; }
    public List<CustomerOrderHistoryModel> Orders { get; set; } = new();
}

public class CustomerOrderHistoryModel
{
    public long Id { get; set; }
    public long Amount { get; set; }
    public long? PackageId { get; set; }
    public string PackageName { get; set; }
    public int Status { get; set; }
    public string StatusMessage { get; set; }
    public DateTime OrderDate { get; set; }
    public DateTime? DeliveryDate { get; set; }
    public string TrackingCode { get; set; }
    public int ItemsCount { get; set; }
    public bool CanCancel { get; set; }
    public bool CanReorder { get; set; }
}
