🧱 Add stream (NATS) message queue infra
This commit is contained in:
9
DysonNetwork.Shared/Stream/AccountEvent.cs
Normal file
9
DysonNetwork.Shared/Stream/AccountEvent.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
using NodaTime;
|
||||
|
||||
namespace DysonNetwork.Shared.Stream;
|
||||
|
||||
public class AccountDeletedEvent
|
||||
{
|
||||
public Guid AccountId { get; set; } = Guid.NewGuid();
|
||||
public Instant DeletedAt { get; set; } = SystemClock.Instance.GetCurrentInstant();
|
||||
}
|
Reference in New Issue
Block a user