From 8df3554c91c818925641081839c4bd56e4b7e299 Mon Sep 17 00:00:00 2001 From: enisn Date: Thu, 21 Oct 2021 15:11:03 +0300 Subject: [PATCH] Add EventNames --- .../PaymentRequests/PaymentRequestCompletedEto.cs | 2 ++ .../PaymentRequests/PaymentRequestFailedEto.cs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/modules/payment/src/Payment.Domain.Shared/PaymentRequests/PaymentRequestCompletedEto.cs b/modules/payment/src/Payment.Domain.Shared/PaymentRequests/PaymentRequestCompletedEto.cs index 34059c3..2fc4c8c 100644 --- a/modules/payment/src/Payment.Domain.Shared/PaymentRequests/PaymentRequestCompletedEto.cs +++ b/modules/payment/src/Payment.Domain.Shared/PaymentRequests/PaymentRequestCompletedEto.cs @@ -1,10 +1,12 @@ using System; using Volo.Abp.Data; using Volo.Abp.Domain.Entities.Events.Distributed; +using Volo.Abp.EventBus; namespace Payment.PaymentRequests { [Serializable] + [EventName("Payment.Completed")] public class PaymentRequestCompletedEto : EtoBase, IHasExtraProperties { public Guid PaymentRequestId { get; set; } diff --git a/modules/payment/src/Payment.Domain.Shared/PaymentRequests/PaymentRequestFailedEto.cs b/modules/payment/src/Payment.Domain.Shared/PaymentRequests/PaymentRequestFailedEto.cs index 370cc28..5c5fe88 100644 --- a/modules/payment/src/Payment.Domain.Shared/PaymentRequests/PaymentRequestFailedEto.cs +++ b/modules/payment/src/Payment.Domain.Shared/PaymentRequests/PaymentRequestFailedEto.cs @@ -1,10 +1,12 @@ using System; using Volo.Abp.Data; using Volo.Abp.Domain.Entities.Events.Distributed; +using Volo.Abp.EventBus; namespace Payment.PaymentRequests { [Serializable] + [EventName("Payment.Failed")] public class PaymentRequestFailedEto : EtoBase, IHasExtraProperties { public Guid PaymentRequestId { get; set; }