package com.ted.weather.domain.model data class ForecastList(val id: Long, val city: String, val country: String, val dailyForecast: List) { val size: Int get() = dailyForecast.size operator fun get(position: Int) = dailyForecast[position] } data class Forecast(val id: Long, val date: Long, val description: String, val high: Int, val low: Int, val iconUrl: String)