mirror of https://git.sr.ht/~oppen/ariane
14 lines
354 B
Kotlin
14 lines
354 B
Kotlin
package oppen.ariane.io.database.history
|
|
|
|
import androidx.room.ColumnInfo
|
|
import androidx.room.Entity
|
|
import androidx.room.PrimaryKey
|
|
|
|
@Entity(tableName = "history")
|
|
class HistoryEntity(
|
|
@ColumnInfo(name = "uri") val uri: String?,
|
|
@ColumnInfo(name = "timestamp") val timestamp: Long?
|
|
){
|
|
@PrimaryKey(autoGenerate = true)
|
|
var uid: Int = 0
|
|
} |