package io.rebble.libpebblecommon.database.entity import androidx.room.ColumnInfo import androidx.room.Entity import androidx.room.Index import androidx.room.PrimaryKey @Entity(indices = [Index(value = ["platformId"], unique = true)]) data class CalendarEntity( @PrimaryKey(autoGenerate = true) val id: Int = 0, val platformId: String, val name: String, val ownerName: String, val ownerId: String, val color: Int, val enabled: Boolean, @ColumnInfo(defaultValue = "1") val syncEvents: Boolean = true, )