PIbd-23-Yunusov-N.N.-CarRep.../CarRepairShop/CarRepairShopContracts/ViewModels/RepairViewModel.cs

16 lines
506 B
C#
Raw Normal View History

2024-02-09 22:08:31 +04:00
using CarRepairShopDataModels.Models;
using System.ComponentModel;
namespace CarRepairShopContracts.ViewModels
{
public class RepairViewModel : IRepairModel
{
public int Id { get; set; }
[DisplayName("Название изделия")]
public string RepairName { get; set; } = string.Empty;
[DisplayName("Цена")]
public double Price { get; set; }
public Dictionary<int, (IComponentModel, int)> RepairComponents { get; set; } = new();
}
}