mirror of https://github.com/Corewala/Buran
14 lines
356 B
Kotlin
14 lines
356 B
Kotlin
package corewala.buran.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
|
|
} |