2024-04-28 21:34:43 +04:00
|
|
|
|
using BankDataModels.ProxyModels;
|
|
|
|
|
using BankDataModels;
|
|
|
|
|
using System.ComponentModel;
|
2024-04-28 20:20:37 +04:00
|
|
|
|
|
|
|
|
|
namespace BankContracts.ViewModels
|
|
|
|
|
{
|
2024-04-28 21:34:43 +04:00
|
|
|
|
public class CostViewModel : ICostModel
|
2024-04-28 20:20:37 +04:00
|
|
|
|
{
|
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();
|
2024-04-28 20:20:37 +04:00
|
|
|
|
}
|
|
|
|
|
}
|