CodeLiturgy.Dashboard/BlueWest.Data.Capital/Country/CountryUpdate.cs

22 lines
501 B
C#
Raw Normal View History

2022-08-17 23:21:00 +03:00
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using MapTo;
2022-08-17 23:17:37 +03:00
2022-08-17 23:21:00 +03:00
namespace BlueWest.Data
2022-08-17 23:17:37 +03:00
{
2022-08-17 23:21:00 +03:00
[MapFrom( typeof(Country))]
public partial class CountryUpdate
{
2022-08-22 00:14:50 +03:00
public string Name { get; set; }
2022-08-17 23:21:00 +03:00
public string StateName { get; set; }
public string Alpha2Code { get; set; }
public string TLD { get; set; }
2022-08-22 00:14:50 +03:00
/// <summary>
/// ISO 3166-1 numeric code
/// </summary>
public int Code { get; set; }
2022-08-17 23:21:00 +03:00
}
}