2023-06-17 15:30:23 +02:00
|
|
|
package com.cappielloantonio.tempo.model
|
2023-03-02 10:48:30 +01:00
|
|
|
|
|
|
|
|
import android.os.Parcelable
|
|
|
|
|
import androidx.annotation.Keep
|
|
|
|
|
import androidx.room.ColumnInfo
|
|
|
|
|
import androidx.room.Entity
|
|
|
|
|
import androidx.room.PrimaryKey
|
2023-03-11 18:12:46 +01:00
|
|
|
import kotlinx.parcelize.Parcelize
|
2023-03-02 10:48:30 +01:00
|
|
|
|
|
|
|
|
@Keep
|
|
|
|
|
@Parcelize
|
|
|
|
|
@Entity(tableName = "recent_search")
|
|
|
|
|
data class RecentSearch(
|
|
|
|
|
@PrimaryKey
|
|
|
|
|
@ColumnInfo(name = "search")
|
2025-12-07 13:24:03 +02:00
|
|
|
var search: String,
|
|
|
|
|
|
|
|
|
|
@ColumnInfo(name = "timestamp", defaultValue = "0")
|
|
|
|
|
var timestamp: Long
|
2023-03-02 10:48:30 +01:00
|
|
|
) : Parcelable
|