Coverage Summary for Class: SearchEntity (clean.architecture.data.db.entity)

Class Class, % Method, % Branch, % Line, % Instruction, %
SearchEntity 100% (1/1) 100% (1/1) 100% (5/5) 100% (22/22)


 package clean.architecture.data.db.entity
 
 import androidx.room.ColumnInfo
 import androidx.room.Entity
 import androidx.room.PrimaryKey
 
 /**
  * Represents a search history entity in the database.
  *
  * @param id The unique identifier for the search history item.
  * @param searchText The search query text.
  * @param created The timestamp when the search was created.
  * @param updated The timestamp when the search was last updated.
  */
 @Entity(tableName = "search_history")
 data class SearchEntity(
     @PrimaryKey(autoGenerate = true) val id: Int,
     @ColumnInfo(name = "search_text") val searchText: String,
     @ColumnInfo(name = "created") val created: Long,
     @ColumnInfo(name = "updated") val updated: Long
 )