UserDeletedEvent.cs
308 bytes
| 1 | namespace SplitApp.Shared.Messaging.Integration.Users; |
|---|---|
| 2 | |
| 3 | /// <summary> |
| 4 | /// Published by the Users service when a user is deleted. Subscribed by the monolith |
| 5 | /// to cascade-clean Trips/Expenses rows that referenced the gone user. |
| 6 | /// </summary> |
| 7 | public record UserDeletedEvent(Guid UserId) : IIntegrationEvent; |
| 8 | |