IndisponibiliteEntity.kt 19 lignes · 600 octets
package fr.ebii.card2vcf.data

import androidx.room.Entity
import androidx.room.PrimaryKey

/** Miroir lecture seule ; pas de push local (indispos gérées côté serveur). */
@Entity(tableName = "indisponibilites")
data class IndisponibiliteEntity(
    @PrimaryKey(autoGenerate = true) val localId: Long = 0,
    val serverId: String? = null,
    val cibleType: String = "",
    val cibleId: String = "",
    val debutMs: Long = 0L,
    val finMs: Long = 0L,
    val nature: String? = null,
    val commentaire: String? = null,
    val updatedAt: Long = 0L,
    val calendarEventId: Long? = null,
)