CodeLiturgy.Dashboard/BlueWest.Data.Capital/Capital/Currency/Currency.cs

25 lines
549 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using MapTo;
namespace BlueWest.Data
{
[MapFrom(new []{
typeof(CurrencyUpdate),
typeof(CurrencyCreate),
typeof(CurrencyUnique)
})]
public partial class Currency
{
public int Id { get; set; }
public int Num { get; set; }
[MaxLength(3)] public string Code { get; set; }
public List<Country> Countries { get; set; }
public DateTime CreateDate { get; set; }
}
}