namespace KArtSell.BuildingBlocks.Auditing;

/// <summary>
/// Append-only audit envelope. Corrections are new events referencing the original event.
/// </summary>
public sealed record AuditEvent(
    Guid AuditEventId,
    string EntityType,
    string EntityId,
    string EventType,
    string ActorId,
    string CorrelationId,
    string PayloadJson,
    string PayloadHash,
    Guid? CorrectsAuditEventId,
    DateTimeOffset OccurredAt);
