|
|
@ -1,29 +1,26 @@ |
|
|
using System; |
|
|
using System; |
|
|
using System.Collections.Generic; |
|
|
|
|
|
using System.Text.Json.Serialization; |
|
|
|
|
|
using EasyAbp.EShop.Products.Products; |
|
|
using EasyAbp.EShop.Products.Products; |
|
|
using Volo.Abp.Application.Dtos; |
|
|
using Volo.Abp.Application.Dtos; |
|
|
using Volo.Abp.Data; |
|
|
|
|
|
|
|
|
|
|
|
namespace EasyAbp.EShop.Orders.Orders.Dtos |
|
|
namespace EasyAbp.EShop.Orders.Orders.Dtos |
|
|
{ |
|
|
{ |
|
|
[Serializable] |
|
|
[Serializable] |
|
|
public class OrderLineDto : FullAuditedEntityDto<Guid>, IOrderLine |
|
|
public class OrderLineDto : ExtensibleFullAuditedEntityDto<Guid>, IOrderLine |
|
|
{ |
|
|
{ |
|
|
public Guid ProductId { get; set; } |
|
|
public Guid ProductId { get; set; } |
|
|
|
|
|
|
|
|
public Guid ProductSkuId { get; set; } |
|
|
public Guid ProductSkuId { get; set; } |
|
|
|
|
|
|
|
|
public Guid? ProductDetailId { get; set; } |
|
|
public Guid? ProductDetailId { get; set; } |
|
|
|
|
|
|
|
|
public DateTime ProductModificationTime { get; set; } |
|
|
public DateTime ProductModificationTime { get; set; } |
|
|
|
|
|
|
|
|
public DateTime? ProductDetailModificationTime { get; set; } |
|
|
public DateTime? ProductDetailModificationTime { get; set; } |
|
|
|
|
|
|
|
|
public string ProductGroupName { get; set; } |
|
|
public string ProductGroupName { get; set; } |
|
|
|
|
|
|
|
|
public string ProductGroupDisplayName { get; set; } |
|
|
public string ProductGroupDisplayName { get; set; } |
|
|
|
|
|
|
|
|
public string ProductUniqueName { get; set; } |
|
|
public string ProductUniqueName { get; set; } |
|
|
|
|
|
|
|
|
public string ProductDisplayName { get; set; } |
|
|
public string ProductDisplayName { get; set; } |
|
|
@ -31,28 +28,25 @@ namespace EasyAbp.EShop.Orders.Orders.Dtos |
|
|
public InventoryStrategy? ProductInventoryStrategy { get; set; } |
|
|
public InventoryStrategy? ProductInventoryStrategy { get; set; } |
|
|
|
|
|
|
|
|
public string SkuName { get; set; } |
|
|
public string SkuName { get; set; } |
|
|
|
|
|
|
|
|
public string SkuDescription { get; set; } |
|
|
public string SkuDescription { get; set; } |
|
|
|
|
|
|
|
|
public string MediaResources { get; set; } |
|
|
public string MediaResources { get; set; } |
|
|
|
|
|
|
|
|
public string Currency { get; set; } |
|
|
public string Currency { get; set; } |
|
|
|
|
|
|
|
|
public decimal UnitPrice { get; set; } |
|
|
public decimal UnitPrice { get; set; } |
|
|
|
|
|
|
|
|
public decimal TotalPrice { get; set; } |
|
|
public decimal TotalPrice { get; set; } |
|
|
|
|
|
|
|
|
public decimal TotalDiscount { get; set; } |
|
|
public decimal TotalDiscount { get; set; } |
|
|
|
|
|
|
|
|
public decimal ActualTotalPrice { get; set; } |
|
|
public decimal ActualTotalPrice { get; set; } |
|
|
|
|
|
|
|
|
public int Quantity { get; set; } |
|
|
public int Quantity { get; set; } |
|
|
|
|
|
|
|
|
public int RefundedQuantity { get; set; } |
|
|
public int RefundedQuantity { get; set; } |
|
|
|
|
|
|
|
|
public decimal RefundAmount { get; set; } |
|
|
public decimal RefundAmount { get; set; } |
|
|
|
|
|
|
|
|
[JsonInclude] |
|
|
|
|
|
public ExtraPropertyDictionary ExtraProperties { get; set; } |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |