18 lines
364 B
C#
18 lines
364 B
C#
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using MapTo;
|
|
|
|
namespace BlueWest.Data
|
|
{
|
|
[MapFrom(typeof(Currency))]
|
|
public partial class CurrencyUnique
|
|
{
|
|
public int Id { get; set; }
|
|
public int Num { get; set; } // Primary key
|
|
[MaxLength(3)] public string Code { get; set; }
|
|
|
|
|
|
}
|
|
}
|
|
|