22 lines
478 B
C#
22 lines
478 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)> ComponentsBuilds
|
|
{
|
|
get;
|
|
set;
|
|
} = new();
|
|
}
|
|
}
|