This commit is contained in:
Satindar Dhillon 2022-12-16 19:41:24 -08:00
parent 3497cc2f72
commit 8b2b8d1816
2 changed files with 25 additions and 0 deletions

View file

@ -0,0 +1,2 @@
package app.omnivore.omnivore.persistence

View file

@ -0,0 +1,23 @@
package app.omnivore.omnivore.persistence.entities
import androidx.room.Entity
import androidx.room.PrimaryKey
import java.util.Date
@Entity
data class Highlight(
@PrimaryKey val id: String,
val annotation: String?,
val createdAt: Date?,
val createdByMe: Boolean,
val markedForDeletion: Boolean, // default false
val patch: String,
val prefix: String?,
val quote: String,
val serverSyncStatus: Int, // default 0
val shortId: String,
val suffix: String?,
val updatedAt: Date?
// has many LinkedItems and LinkedItemLabels
)