ISEbd-21_Vasina_E.S._Comput.../ComputersShop/ComputersShopContracts/BindingModels/ComputerBindingModel.cs
2023-03-01 10:48:56 +04:00

13 lines
400 B
C#

using ComputersShopDataModels.Models;
namespace ComputersShopContracts.BindingModels
{
public class ComputerBindingModel : IComputerModel
{
public int Id { get; set; }
public string ComputerName { get; set; } = string.Empty;
public double Price { get; set; }
public Dictionary<int, (IComponentModel, int)> ComputerComponents { get; set; } = new();
}
}