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

22 lines
442 B
C#

using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using MapTo;
namespace BlueWest.Data
{
[MapFrom(typeof(CurrencyUpdate))]
public partial class Currency
{
[MaxLength(3)]public int Num { get; set; } // Primary key
[MaxLength(3)]public string Code { get; set; }
public List<Country> Countries { get; set; }
public Currency()
{
}
}
}