mirror of https://github.com/EasyAbp/EShop.git
10 changed files with 58 additions and 12 deletions
@ -0,0 +1,13 @@ |
|||||
|
using System; |
||||
|
using EasyAbp.EShop.Products.Products; |
||||
|
|
||||
|
namespace EasyAbp.EShop.Orders.Orders; |
||||
|
|
||||
|
public interface IOrderDiscount : IDiscountInfo |
||||
|
{ |
||||
|
Guid OrderId { get; } |
||||
|
|
||||
|
Guid OrderLineId { get; } |
||||
|
|
||||
|
decimal DiscountedAmount { get; } |
||||
|
} |
||||
@ -0,0 +1,21 @@ |
|||||
|
using System; |
||||
|
|
||||
|
namespace EasyAbp.EShop.Orders.Orders; |
||||
|
|
||||
|
[Serializable] |
||||
|
public class OrderDiscountEto : IOrderDiscount |
||||
|
{ |
||||
|
public Guid OrderId { get; set; } |
||||
|
|
||||
|
public Guid OrderLineId { get; set; } |
||||
|
|
||||
|
public string EffectGroup { get; set; } |
||||
|
|
||||
|
public string Name { get; set; } |
||||
|
|
||||
|
public string Key { get; set; } |
||||
|
|
||||
|
public string DisplayName { get; set; } |
||||
|
|
||||
|
public decimal DiscountedAmount { get; set; } |
||||
|
} |
||||
Loading…
Reference in new issue