2024-04-29 18:58:46 +04:00
|
|
|
|
using UniversityDataModels.Models;
|
2024-04-29 18:46:34 +04:00
|
|
|
|
using UniversityDataModels;
|
2024-04-29 17:06:56 +04:00
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
|
|
|
|
|
namespace UniversityContracts.ViewModels
|
|
|
|
|
{
|
|
|
|
|
public class CostViewModel : ICostModel
|
|
|
|
|
{
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
public int EmployeeId { get; set; }
|
|
|
|
|
[DisplayName("Наименование")]
|
|
|
|
|
public string NameOfCost { get; set; } = string.Empty;
|
|
|
|
|
[DisplayName("Стоимость")]
|
|
|
|
|
public double Price { get; set; }
|
|
|
|
|
|
|
|
|
|
public Dictionary<int, CostByPurchaseModel> PurchaseModels { get; set; } = new();
|
|
|
|
|
}
|
|
|
|
|
}
|