2022-08-17 23:21:00 +03:00
|
|
|
using System.Collections.Generic;
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
using MapTo;
|
2022-08-13 05:59:37 +03:00
|
|
|
|
2022-08-17 23:21:00 +03:00
|
|
|
namespace BlueWest.Data
|
2022-08-13 05:59:37 +03:00
|
|
|
{
|
2022-08-17 23:21:00 +03:00
|
|
|
[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()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|