public interface IEvent {} | |
public record ProductShipped(string Sku, int Quantity, DateTime DateTime) : IEvent; | |
public record ProductReceived(string Sku, int Quantity, DateTime DateTime) : IEvent; | |
public record InventoryAdjusted(string Sku, int Quantity, string Reason, DateTime DateTime) : IEvent; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment