22 lines
626 B
C#
22 lines
626 B
C#
using PlumbingRepairDataModels.Models;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
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();
|
|
}
|
|
}
|