package com.ted.weather.data.db import java.util.* class CityForecast(val map: MutableMap, val dailyForecast: List) { var _id: Long by map var city: String by map var country: String by map constructor(id: Long, city: String, country: String, dailyForecast: List) : this(HashMap(), dailyForecast) { this._id = id this.city = city this.country = country } } class DayForecast(var map: MutableMap) { var _id: Long by map var date: Long by map var description: String by map var high: Int by map var low: Int by map var iconUrl: String by map var cityId: Long by map constructor(date: Long, description: String, high: Int, low: Int, iconUrl: String, cityId: Long) : this(HashMap()) { this.date = date this.description = description this.high = high this.low = low this.iconUrl = iconUrl this.cityId = cityId } }