package com.syncflow.domain.model

import java.time.Instant

data class SyncConflict(
    val id: Long = 0,
    val syncPairId: Long,
    val relativePath: String,
    val localModifiedAt: Instant,
    val localSizeBytes: Long,
    val remoteModifiedAt: Instant,
    val remoteSizeBytes: Long,
    val resolution: ConflictResolution?,
    val detectedAt: Instant,
)

enum class ConflictResolution {
    KEEP_LOCAL,
    KEEP_REMOTE,
    KEEP_BOTH,
    SKIP,
}
