Repo created
This commit is contained in:
parent
92216c1ae2
commit
6e051b9cd4
280 changed files with 19204 additions and 2 deletions
|
|
@ -0,0 +1,24 @@
|
|||
package com.gbros.tabslite.data
|
||||
|
||||
import androidx.room.ColumnInfo
|
||||
import androidx.room.Entity
|
||||
import androidx.room.PrimaryKey
|
||||
|
||||
@Entity(
|
||||
tableName = "search_suggestions"
|
||||
)
|
||||
|
||||
/**
|
||||
* Store suggested searches by query in the local database
|
||||
*/
|
||||
data class SearchSuggestions (
|
||||
/**
|
||||
* The search query that these suggestions are for
|
||||
*/
|
||||
@PrimaryKey val query: String,
|
||||
|
||||
/**
|
||||
* The list of search suggestions for this query
|
||||
*/
|
||||
@ColumnInfo(name = "suggested_searches") val suggestedSearches: List<String>
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue