2022-09-10 07:12:03 +03:00
|
|
|
using System;
|
2022-08-19 02:02:57 +03:00
|
|
|
using System.Collections.Generic;
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
using MapTo;
|
|
|
|
|
|
|
|
namespace BlueWest.Data
|
|
|
|
{
|
|
|
|
[MapFrom( typeof(Country))]
|
2022-08-22 00:14:50 +03:00
|
|
|
public partial class CountryCreate
|
2022-08-19 02:02:57 +03:00
|
|
|
{
|
|
|
|
// ISO 3166-1 numeric code
|
2022-08-22 00:14:50 +03:00
|
|
|
public int Code { get; set; }
|
|
|
|
|
|
|
|
public string Name { get; set; }
|
2022-08-19 02:02:57 +03:00
|
|
|
public string StateName { get; set; }
|
|
|
|
|
2022-08-22 02:51:45 +03:00
|
|
|
//public List<CurrencyUnique> CurrenciesToCreate { get; set; }
|
2022-08-22 00:14:50 +03:00
|
|
|
|
2022-08-22 02:51:45 +03:00
|
|
|
public string Alpha2Code { get; set; }
|
2022-08-19 02:02:57 +03:00
|
|
|
|
|
|
|
public string TLD { get; set; }
|
2022-09-10 07:12:03 +03:00
|
|
|
public DateTime CreateTime { get; } = DateTime.Now;
|
|
|
|
|
2022-08-22 00:14:50 +03:00
|
|
|
|
2022-08-19 02:02:57 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|