CourseWork_CompShop/ComputerShopProvider/ComputerShopContracts/BindingModels/AssemblyBindingModel.cs

23 lines
596 B
C#
Raw Permalink Normal View History

2023-04-05 18:31:49 +04:00
using ComputerShopDataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ComputerShopContracts.BindingModels
{
public class AssemblyBindingModel : IAssemblyModel
{
public int Id { get; set; }
public string AssemblyName { get; set; } = string.Empty;
public double Price { get; set; }
2023-04-09 11:30:54 +04:00
public int ClientId { get; set; }
2023-04-05 18:31:49 +04:00
public Dictionary<int, (IComponentModel, int)> AssemblyComponents
{
get;
set;
} = new();
}
}