﻿using Newtonsoft.Json;

namespace Dawodev.Southwind.Model.OpenWeatherMapAPI
{
    /// <summary>
    /// Forecast API only
    /// </summary>
    public class City
    {
        [JsonProperty("id")]
        public int Id { get; set; }

        [JsonProperty("name")]
        public string Name { get; set; }

        [JsonProperty("coord")]
        public Coord Coord { get; set; } = new Coord();

        [JsonProperty("country")]
        public string Country { get; set; }
    }
}
