using System; using System.Collections.Generic; using Kurs.Platform.Tenants; using Volo.Abp.Application.Dtos; namespace Kurs.Platform.Orders; public class OrderDto : EntityDto { public CustomTenantDto Tenant { get; set; } public List Items { get; set; } public decimal Subtotal { get; set; } public decimal Commission { get; set; } public decimal Total { get; set; } public string PaymentMethod { get; set; } public int? Installments { get; set; } public string? InstallmentName { get; set; } public Dictionary PaymentData { get; set; } } public class OrderItemDto { public Guid ProductId { get; set; } public ProductDto Product { get; set; } public string BillingCycle { get; set; } // monthly | yearly public int Quantity { get; set; } public decimal TotalPrice { get; set; } }