15 lines
515 B
C#
15 lines
515 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 IVendorModel Vendor { get; set; }
|
|
public Dictionary<int, (IComponentModel, int)> BuildComponents { get; set; } = new();
|
|
public List<ICommentModel> Comments { get; set; } = new();
|
|
}
|
|
}
|