using Newtonsoft.Json; namespace gehGassi.Domain.Common { /// /// Model für die Auswahl eines Landes /// public class Country { /// /// Iso2 Code des Landes /// [JsonProperty("alpha2")] public string Iso2 { get; set; } /// /// Name des Landes (native!) /// [JsonProperty("name")] public string Name { get; set; } } /// /// Model für die Auswahl eines Bundeslandes / Staates /// public class State { /// /// Iso2 Code des Landes /// [JsonProperty("country")] public string Iso2 { get; set; } /// /// ISO 3166-2 Code /// [JsonProperty("code")] public string Code { get; set; } /// /// Name des bundeslandes /// [JsonProperty("name")] public string Name { get; set; } } }