zeroframework/BuildingBlocks/EventBus/ZeroFramework.EventBus/Events/IntegrationEvent.cs

22 lines
466 B
C#
Raw Normal View History

2023-12-05 09:22:48 +00:00
namespace ZeroFramework.EventBus.Events
{
public class IntegrationEvent
{
public IntegrationEvent()
{
Id = Guid.NewGuid();
CreationTime = DateTimeOffset.Now;
}
public IntegrationEvent(Guid id, DateTime createDate)
{
Id = id;
CreationTime = createDate;
}
public Guid Id { get; set; }
public DateTimeOffset CreationTime { get; set; }
}
}