20 lines
459 B
C#
20 lines
459 B
C#
using Newtonsoft.Json;
|
|
|
|
namespace Tabletop.Core.Models
|
|
{
|
|
public class Geolocation
|
|
{
|
|
[JsonProperty("country_name")]
|
|
public string CountryName { get; set; } = string.Empty;
|
|
|
|
[JsonProperty("city")]
|
|
public string City { get; set; } = string.Empty;
|
|
|
|
[JsonProperty("latitude")]
|
|
public double Latitude { get; set; }
|
|
|
|
[JsonProperty("longitude")]
|
|
public double Longitude { get; set; }
|
|
}
|
|
}
|