ReservationEntity.kt 20 lignes · 581 octets
package fr.ebii.card2vcf.data

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

@Entity(tableName = "reservations")
data class ReservationEntity(
    @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 motif: String = "",
    val statut: String = "active",
    val updatedAt: Long = 0L,
    val calendarEventId: Long? = null,
    val dirtyLocal: Boolean = false,
    val conflictPending: Boolean = false,
)