Account service account deleted broadcast message & sphere service clean up

This commit is contained in:
2025-08-19 22:39:12 +08:00
parent d555fcaf17
commit e3dfccfee3
7 changed files with 79 additions and 9 deletions

View File

@@ -4,6 +4,8 @@ namespace DysonNetwork.Shared.Stream;
public class AccountDeletedEvent
{
public static string Type => "account.deleted";
public Guid AccountId { get; set; } = Guid.NewGuid();
public Instant DeletedAt { get; set; } = SystemClock.Instance.GetCurrentInstant();
}