zeroframework/Services/DeviceCenter/ZeroFramework.DeviceCenter.Application/IntegrationEvents/Events/Ordering/OrderStatusChangedToPaidIntegrationEvent.cs

17 lines
624 B
C#
Raw Normal View History

2023-12-05 09:22:48 +00:00
using ZeroFramework.DeviceCenter.Application.Models.Ordering;
using ZeroFramework.EventBus.Events;
namespace ZeroFramework.DeviceCenter.Application.IntegrationEvents.Events.Ordering
{
public class OrderStatusChangedToPaidIntegrationEvent(int orderId, string orderStatus, Guid buyerId, IEnumerable<OrderStockItemModel> orderStockItems) : IntegrationEvent
{
public int OrderId { get; } = orderId;
public string OrderStatus { get; } = orderStatus;
public Guid BuyerId { get; } = buyerId;
public IEnumerable<OrderStockItemModel> OrderStockItems { get; } = orderStockItems;
}
}