CodeLiturgy.Dashboard/BlueWest.Data/Finance/Currency/CountryCreate.cs

20 lines
410 B
C#
Raw Normal View History

2022-08-17 23:21:00 +03:00
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 CountryCreate
{
// ISO 3166-1 numeric code
public int Code { get; set; } // Primary key
public string StateName { get; set; }
[MaxLength(2)] public string Alpha2Code { get; set; }
public string TLD { get; set; }
}
}