Outbox pattern table added

This commit is contained in:
2026-01-27 20:15:17 +01:00
Unverified
parent 49e6c8a643
commit 09b7bb8bef
9 changed files with 280 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
namespace TimetableDesigner.Backend.Services.Authentication.Database.Model;
public class Event
{
public Guid Id { get; set; }
public required string Payload { get; set; }
public required string PayloadType { get; set; }
public DateTimeOffset OccuredOn { get; set; } = DateTimeOffset.UtcNow;
public DateTimeOffset? ProcessedOn { get; set; }
public uint RetryCount { get; set; }
public uint Version { get; set; }
}