22 lines
477 B
C#
22 lines
477 B
C#
using HardwareShopDataModels.Models;
|
|
|
|
namespace HardwareShopContracts.BindingModels
|
|
{
|
|
public class ComponentBindingModel : IComponentModel
|
|
{
|
|
public int Id { get; set; }
|
|
|
|
public string ComponentName { get; set; } = string.Empty;
|
|
|
|
public double Cost { get; set; }
|
|
|
|
public int UserId { get; set; }
|
|
|
|
public Dictionary<int, (IBuildModel, int)> ComponentBuilds
|
|
{
|
|
get;
|
|
set;
|
|
} = new();
|
|
}
|
|
}
|