Browse Source

Change PaymentRecordOrder to an entity

pull/49/head
gdlcf88 6 years ago
parent
commit
31aadba3ff
  1. 3
      modules/EasyAbp.EShop.Payment/src/EasyAbp.EShop.Payment.Domain/PaymentRecords/PaymentRecord.cs
  2. 10
      modules/EasyAbp.EShop.Payment/src/EasyAbp.EShop.Payment.Domain/PaymentRecords/PaymentRecordOrder.cs

3
modules/EasyAbp.EShop.Payment/src/EasyAbp.EShop.Payment.Domain/PaymentRecords/PaymentRecord.cs

@ -1,4 +1,5 @@
using System;
using System.Collections.Generic;
using EasyAbp.EShop.Stores.Stores;
using JetBrains.Annotations;
using Volo.Abp.Domain.Entities.Auditing;
@ -26,5 +27,7 @@ namespace EasyAbp.EShop.Payment.PaymentRecords
public virtual decimal ActualPaymentAmount { get; protected set; }
public virtual decimal RefundAmount { get; protected set; }
public virtual List<PaymentRecordOrder> PaymentRecordOrders { get; protected set; }
}
}

10
modules/EasyAbp.EShop.Payment/src/EasyAbp.EShop.Payment.Domain/PaymentRecordOrders/PaymentRecordOrder.cs → modules/EasyAbp.EShop.Payment/src/EasyAbp.EShop.Payment.Domain/PaymentRecords/PaymentRecordOrder.cs

@ -1,17 +1,11 @@
using System;
using EasyAbp.EShop.Stores.Stores;
using JetBrains.Annotations;
using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp.MultiTenancy;
namespace EasyAbp.EShop.Payment.PaymentRecordOrders
namespace EasyAbp.EShop.Payment.PaymentRecords
{
public class PaymentRecordOrder : FullAuditedEntity<Guid>, IMultiTenant, IMultiStore
public class PaymentRecordOrder : FullAuditedEntity<Guid>
{
public virtual Guid? TenantId { get; protected set; }
public virtual Guid StoreId { get; protected set; }
public virtual Guid OrderId { get; protected set; }
[NotNull]
Loading…
Cancel
Save