CourseWork_Bank/Bank/BankContracts/ViewModels/CostViewModel.cs

21 lines
692 B
C#
Raw Permalink Normal View History

2024-04-28 21:34:43 +04:00
using BankDataModels.ProxyModels;
using BankDataModels;
using System.ComponentModel;
namespace BankContracts.ViewModels
{
2024-04-28 21:34:43 +04:00
public class CostViewModel : ICostModel
{
2024-04-28 21:34:43 +04:00
public int Id { get; set; }
public int EmployeeId { get; set; }
[DisplayName("Номер телефона сотрудника")]
public string PhoneNumber { get; set; } = string.Empty;
[DisplayName("Наименование")]
public string NameOfCost { get; set; } = string.Empty;
[DisplayName("Стоимость")]
public double Price { get; set; }
public Dictionary<int, CostByPurchaseModel> PurchaseModels { get; set; } = new();
}
}