zeroframework/BuildingBlocks/EventBus/ZeroFramework.EventBus/Events/IntegrationEvent.cs
2023-12-05 17:22:48 +08:00

22 lines
466 B
C#

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; }
}
}