Clinical Sync Batch Engine: first commit

This commit is contained in:
voltsrage
2026-06-23 03:02:30 +08:00
parent 90b8baa2a1
commit c9994b1ba2
60 changed files with 3547 additions and 31 deletions
@@ -0,0 +1,22 @@
public class ClinicalSyncConflict
{
public Guid Id { get; private set; }
public Guid BatchId { get; private set; }
public Guid ClientRef { get; private set; }
public string ItemType { get; private set; } = string.Empty;
public string ConflictReason { get; private set; } = string.Empty;
public DateTimeOffset CreatedAt { get; private set; }
public ClinicalSyncBatch Batch { get; private set; } = null!;
private ClinicalSyncConflict() { }
public ClinicalSyncConflict(Guid batchId, Guid clientRef, string itemType, string conflictReason)
{
BatchId = batchId;
ClientRef = clientRef;
ItemType = itemType;
ConflictReason = conflictReason;
CreatedAt = DateTimeOffset.UtcNow;
}
}