zeroframework/Services/DeviceCenter/ZeroFramework.DeviceCenter.Domain/Events/Buyers/BuyerAndPaymentMethodVerifiedDomainEvent.cs
2023-12-05 17:22:48 +08:00

15 lines
475 B
C#

using MediatR;
using ZeroFramework.DeviceCenter.Domain.Aggregates.BuyerAggregate;
namespace ZeroFramework.DeviceCenter.Domain.Events.Buyers
{
public class BuyerAndPaymentMethodVerifiedDomainEvent(Buyer buyer, PaymentMethod payment, Guid orderId) : INotification
{
public Buyer Buyer { get; private set; } = buyer;
public PaymentMethod Payment { get; private set; } = payment;
public Guid OrderId { get; private set; } = orderId;
}
}