CourseWork_Bank/Bank/BankContracts/ViewModels/CurrencyViewModel.cs

22 lines
646 B
C#

using BankDataModels.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BankContracts.ViewModels
{
public class CurrencyViewModel : ICurrencyModel
{
[DisplayName("Название валюты")]
public string Name { get; set; } = string.Empty;
[DisplayName("Номер валюты")]
public int Id { get; set; }
public int BankOperatorId { get; set; }
[DisplayName("ФИО оператора")]
public string BankOperatorName { get; set; } = string.Empty;
}
}