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

18 lines
426 B
C#
Raw Normal View History

2022-08-19 02:02:57 +03:00
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using MapTo;
namespace BlueWest.Data
{
[MapFrom(typeof(Currency))]
2022-08-22 00:14:50 +03:00
public partial class CurrencyCreate
2022-08-19 02:02:57 +03:00
{
public int Num { get; set; } // Primary key
[MaxLength(3)] public string Code { get; set; }
2022-08-22 00:14:50 +03:00
public List<CountryUnique> CountriesToCreate { get; set; }
public CurrencyCreate() { }
2022-08-19 02:02:57 +03:00
}
}