using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
namespace gehGassiApp.Domain.Common
{
///
/// Model für die Auswahl eines Landes
///
public class Country
{
///
/// Iso2 Code des Landes
///
[JsonPropertyName("alpha2")]
public string Iso2 { get; set; }
///
/// Name des Landes (native!)
///
[JsonPropertyName("name")]
public string Name { get; set; }
}
///
/// Model für die Auswahl eines Bundeslandes / Staates
///
public class State
{
///
/// Iso2 Code des Landes
///
[JsonPropertyName("country")]
public string Iso2 { get; set; }
///
/// ISO 3166-2 Code
///
[JsonPropertyName("code")]
public string Code { get; set; }
///
/// Name des bundeslandes
///
[JsonPropertyName("name")]
public string Name { get; set; }
}
}