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;
    }
}