mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
WIP it
This commit is contained in:
parent
3497cc2f72
commit
8b2b8d1816
2 changed files with 25 additions and 0 deletions
|
|
@ -0,0 +1,2 @@
|
|||
package app.omnivore.omnivore.persistence
|
||||
|
||||
|
|
@ -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
|
||||
)
|
||||
Loading…
Reference in a new issue