19 lines
567 B
C#

using UniversityDataModels.Models;
using UniversityDataModels;
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();
}
}