PIbd-21_RazubaevSM_Plumbing.../PlumbingRepair/PlumbingRepairContracts/ViewModels/WorkViewModel.cs

19 lines
544 B
C#
Raw Normal View History

2024-03-23 11:06:35 +04:00
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; }
[DisplayName("Компоненты")]
public Dictionary<int, (IComponentModel, int)> WorkComponents { get; set; } = new();
}
}