mirror of
https://github.com/antebudimir/tempus.git
synced 2026-04-15 16:27:26 +00:00
20 lines
479 B
Kotlin
20 lines
479 B
Kotlin
package com.cappielloantonio.tempo.model
|
|
|
|
import android.os.Parcelable
|
|
import androidx.annotation.Keep
|
|
import androidx.room.ColumnInfo
|
|
import androidx.room.Entity
|
|
import androidx.room.PrimaryKey
|
|
import kotlinx.parcelize.Parcelize
|
|
|
|
@Keep
|
|
@Parcelize
|
|
@Entity(tableName = "recent_search")
|
|
data class RecentSearch(
|
|
@PrimaryKey
|
|
@ColumnInfo(name = "search")
|
|
var search: String,
|
|
|
|
@ColumnInfo(name = "timestamp", defaultValue = "0")
|
|
var timestamp: Long
|
|
) : Parcelable
|