2023-04-05 19:02:12 +04:00
|
|
|
|
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; }
|
|
|
|
|
|
2023-04-05 21:23:13 +04:00
|
|
|
|
public int RequestID { get; set; }
|
2023-04-05 19:02:12 +04:00
|
|
|
|
|
2023-04-05 21:23:13 +04:00
|
|
|
|
public Dictionary<int, (IComponentModel, int)> PCComponents { get; set; } = new();
|
2023-04-05 19:02:12 +04:00
|
|
|
|
|
2023-04-05 21:23:13 +04:00
|
|
|
|
|
2023-04-05 19:02:12 +04:00
|
|
|
|
}
|
|
|
|
|
}
|