PIbd-22-Stroev-V.M.-Plumbin.../PlumbingRepair/PlumbingRepairContracts/BindingModels/WorkBindingModel.cs

18 lines
513 B
C#
Raw Normal View History

2024-02-13 23:15:11 +04:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PlumbingRepairDataModels.Models;
namespace PlumbingRepairContracts.BindingModels
{
2024-02-14 11:14:37 +04:00
public class WorkBindingModel : IWorkModel
2024-02-13 23:15:11 +04:00
{
public int Id { get; set; }
2024-02-14 11:14:37 +04:00
public string WorkName { get; set; } = string.Empty;
2024-02-13 23:15:11 +04:00
public double Price { get; set; }
2024-02-15 12:18:02 +04:00
public Dictionary<int, (IComponentModel, int)> WorkComponents
2024-02-13 23:15:11 +04:00
{ get; set; } = new();
}
}