mirror of https://github.com/EasyAbp/EShop.git
11 changed files with 89 additions and 11 deletions
@ -0,0 +1,40 @@ |
|||
using System; |
|||
using EasyAbp.EShop.Stores.Stores; |
|||
|
|||
namespace EasyAbp.EShop.Orders.Orders |
|||
{ |
|||
public interface IOrder : IMultiStore |
|||
{ |
|||
string OrderNumber { get; } |
|||
|
|||
Guid CustomerUserId { get; } |
|||
|
|||
OrderStatus OrderStatus { get; } |
|||
|
|||
string Currency { get; } |
|||
|
|||
decimal ProductTotalPrice { get; } |
|||
|
|||
decimal TotalDiscount { get; } |
|||
|
|||
decimal TotalPrice { get; } |
|||
|
|||
decimal RefundedAmount { get; } |
|||
|
|||
string CustomerRemark { get; } |
|||
|
|||
string StaffRemark { get; } |
|||
|
|||
Guid? PaymentId { get; } |
|||
|
|||
DateTime? PaidTime { get; } |
|||
|
|||
DateTime? CompletionTime { get; } |
|||
|
|||
DateTime? CanceledTime { get; } |
|||
|
|||
DateTime? ReducedInventoryAfterPlacingTime { get; } |
|||
|
|||
DateTime? ReducedInventoryAfterPaymentTime { get; } |
|||
} |
|||
} |
|||
@ -0,0 +1,31 @@ |
|||
using System; |
|||
|
|||
namespace EasyAbp.EShop.Orders.Orders |
|||
{ |
|||
public interface IOrderLine |
|||
{ |
|||
Guid ProductId { get; } |
|||
|
|||
Guid ProductSkuId { get; } |
|||
|
|||
DateTime ProductModificationTime { get; } |
|||
|
|||
DateTime ProductDetailModificationTime { get; } |
|||
|
|||
string ProductName { get; } |
|||
|
|||
string SkuDescription { get; } |
|||
|
|||
string MediaResources { get; } |
|||
|
|||
string Currency { get; } |
|||
|
|||
decimal UnitPrice { get; } |
|||
|
|||
decimal TotalPrice { get; } |
|||
|
|||
decimal TotalDiscount { get; } |
|||
|
|||
int Quantity { get; } |
|||
} |
|||
} |
|||
Loading…
Reference in new issue