Commit 31aadba3 authored by gdlcf88's avatar gdlcf88

Change PaymentRecordOrder to an entity

parent 84bf4d66
using System; using System;
using System.Collections.Generic;
using EasyAbp.EShop.Stores.Stores; using EasyAbp.EShop.Stores.Stores;
using JetBrains.Annotations; using JetBrains.Annotations;
using Volo.Abp.Domain.Entities.Auditing; using Volo.Abp.Domain.Entities.Auditing;
...@@ -26,5 +27,7 @@ namespace EasyAbp.EShop.Payment.PaymentRecords ...@@ -26,5 +27,7 @@ namespace EasyAbp.EShop.Payment.PaymentRecords
public virtual decimal ActualPaymentAmount { get; protected set; } public virtual decimal ActualPaymentAmount { get; protected set; }
public virtual decimal RefundAmount { get; protected set; } public virtual decimal RefundAmount { get; protected set; }
public virtual List<PaymentRecordOrder> PaymentRecordOrders { get; protected set; }
} }
} }
\ No newline at end of file
using System; using System;
using EasyAbp.EShop.Stores.Stores;
using JetBrains.Annotations; using JetBrains.Annotations;
using Volo.Abp.Domain.Entities.Auditing; 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; } public virtual Guid OrderId { get; protected set; }
[NotNull] [NotNull]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment