14 lines
441 B
C#
14 lines
441 B
C#
using ComputerHardwareStoreDataModels.Models;
|
|
|
|
namespace ComputerHardwareStoreContracts.BindingModels
|
|
{
|
|
public class BuildBindingModel : IBuildModel
|
|
{
|
|
public int Id { get; set; }
|
|
public string Name { get; set; } = string.Empty;
|
|
public double Price { get; set; }
|
|
public int VendorId { get; set; }
|
|
public Dictionary<int, (IComponentModel, int)> BuildComponents { get; set; } = new();
|
|
}
|
|
}
|