WeatherHistoryEntity.kt
package com.gigaprojects.gigaweather.data
import androidx.room.Entity
import androidx.room.PrimaryKey
@Entity(tableName = "weather_history")
data class WeatherHistoryEntity(
@PrimaryKey(autoGenerate = true) val id: Long = 0,
val location: String,
val temperature: Double,
val humidity: Double? = null,
val pressure: Double? = null,
val windSpeed: Double? = null,
val conditions: String? = null,
val timestamp: Long = System.currentTimeMillis()
)