CourseWork_Bank/Bank/BankContracts/ViewModels/CreditProgramViewModel.cs

22 lines
721 B
C#
Raw Normal View History

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 CreditProgramViewModel : ICreditProgramModel
{
[DisplayName("Название кредитной программы")]
public string Name { get; set; } = String.Empty;
[DisplayName("Процент кредитования")]
public float Percent { get; set; }
public Dictionary<int, ICurrencyModel> CreditProgramCurrencies { get; set; } = new();
[DisplayName("Номер программы")]
public int Id { get; set; }
}
}