18 lines
451 B
C#
18 lines
451 B
C#
using HardwareShopDataModels.Models;
|
|
using System.ComponentModel;
|
|
namespace HardwareShopContracts.BindingModels
|
|
{
|
|
public class BuildBindingModel : IBuildModel
|
|
{
|
|
public int Id { get; set; }
|
|
|
|
public decimal Price { get; set; }
|
|
|
|
public string BuildName { get; set; } = string.Empty;
|
|
|
|
public int UserId { get; set; }
|
|
|
|
public Dictionary<int, (IComponentModel, int)>? BuildComponents { get; set; }
|
|
}
|
|
}
|