CodeLiturgy.Dashboard/CodeLiturgy.Data.Application/Geo/Country/CountryCreate.cs

28 lines
636 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using MapTo;
namespace BlueWest.Data
{
[MapFrom( typeof(Country))]
public partial class CountryCreate
{
// ISO 3166-1 numeric code
public int Code { get; set; }
public string Name { get; set; }
public string StateName { get; set; }
//public List<CurrencyUnique> CurrenciesToCreate { get; set; }
public string Alpha2Code { get; set; }
public string TLD { get; set; }
public DateTime CreateTime { get; } = DateTime.Now;
}
}