PIbd-22_Turner_I.A._Plumbin.../PlumbingRepair/PlumbingRepairContracts/ViewModels/WorkViewModel.cs

16 lines
500 B
C#
Raw Normal View History

using PlumbingRepairDataModels.Models;
using System.ComponentModel;
namespace PlumbingRepairContracts.ViewModels
{
public class WorkViewModel : IWorkModel
{
public int Id { get; set; }
[DisplayName("Название изделия")]
public string WorkName { get; set; } = string.Empty;
[DisplayName("Цена")]
public double Price { get; set; }
public Dictionary<int, (IComponentModel, int)> WorkComponents { get; set; } = new();
}
}