20 lines
623 B
C#
20 lines
623 B
C#
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();
|
|
}
|
|
} |