Coursework_ComputerStore_Li.../ComputerStoreContracts/BindingModels/PCBindingModel.cs

24 lines
579 B
C#
Raw Normal View History

using ComputerStoreDataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ComputerStoreContracts.BindingModels
{
public class PCBindingModel : IPCModel
{
public int ID {get; set;}
public string Name { get; set; } = string.Empty;
public double Price { get; set; }
public int EmployeeID { get; set; }
public int RequestID { get; set; }
public Dictionary<int, (IComponentModel, int)> PCComponents { get; set; } = new();
}
}