🚚 Rename the Stream to Queue in internal code

This commit is contained in:
2025-12-25 19:11:39 +08:00
parent f792d43ab9
commit 0bc77b948c
13 changed files with 14 additions and 14 deletions

View File

@@ -0,0 +1,21 @@
using DysonNetwork.Shared.Models;
using NodaTime;
namespace DysonNetwork.Shared.Queue;
public class AccountDeletedEvent
{
public static string Type => "account_deleted";
public Guid AccountId { get; set; } = Guid.NewGuid();
public Instant DeletedAt { get; set; } = SystemClock.Instance.GetCurrentInstant();
}
public class AccountStatusUpdatedEvent
{
public static string Type => "account_status_updated";
public Guid AccountId { get; set; }
public SnAccountStatus Status { get; set; } = new();
public Instant UpdatedAt { get; set; } = SystemClock.Instance.GetCurrentInstant();
}