2024-04-18 16:47:15 +04:00
|
|
|
|
using ComputerHardwareStoreDataModels.Models;
|
|
|
|
|
|
|
|
|
|
namespace ComputerHardwareStoreContracts.BindingModels
|
|
|
|
|
{
|
2024-04-25 22:38:28 +04:00
|
|
|
|
public class BuildBindingModel : IBuildModel
|
2024-04-18 16:47:15 +04:00
|
|
|
|
{
|
|
|
|
|
public int Id { get; set; }
|
2024-04-25 22:38:28 +04:00
|
|
|
|
public string Name { get; set; } = string.Empty;
|
2024-04-18 16:47:15 +04:00
|
|
|
|
public double Price { get; set; }
|
|
|
|
|
public int VendorId { get; set; }
|
2024-04-25 22:38:28 +04:00
|
|
|
|
public Dictionary<int, (IComponentModel, int)> BuildComponents { get; set; } = new();
|
2024-04-18 16:47:15 +04:00
|
|
|
|
}
|
|
|
|
|
}
|