2023-04-02 16:52:24 +04:00
|
|
|
|
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
|
|
|
|
|
{
|
2023-04-06 18:41:33 +04:00
|
|
|
|
public class CreditProgramViewModel : ICreditProgramModel
|
2023-04-02 16:52:24 +04:00
|
|
|
|
{
|
|
|
|
|
[DisplayName("Название кредитной программы")]
|
|
|
|
|
public string Name { get; set; } = String.Empty;
|
|
|
|
|
[DisplayName("Процент кредитования")]
|
2023-04-07 13:51:01 +04:00
|
|
|
|
public float Percent { get; set; }
|
|
|
|
|
public Dictionary<int, ICurrencyModel> CreditProgramCurrencies { get; set; } = new();
|
2023-04-02 16:52:24 +04:00
|
|
|
|
[DisplayName("Номер программы")]
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|