PIbd-22_Kamcharova_K.A_Reno.../RenovationWorkContracts/ViewModels/RepairViewModel.cs

20 lines
623 B
C#
Raw Normal View History

2024-04-17 09:22:08 +04:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RenovationWorkDataModels.Models;
using System.ComponentModel;
namespace RenovationWorkContracts.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();
}
}