PIbd-22_Turner_I.A._Plumbin.../PlumbingRepair/PlumbingRepairContracts/ViewModels/WorkViewModel.cs
2023-02-06 22:13:38 +04:00

16 lines
500 B
C#

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();
}
}