18 lines
456 B
C#
18 lines
456 B
C#
using HardwareShopDataModels.Models;
|
|
using System.ComponentModel;
|
|
namespace HardwareShopContracts.BindingModels
|
|
{
|
|
public class BuildBindingModel : IBuildModel
|
|
{
|
|
public int Id { get; set; }
|
|
|
|
public double Price { get; set; }
|
|
|
|
public string BuildName { get; set; } = string.Empty;
|
|
|
|
public int UserId { get; set; }
|
|
|
|
public Dictionary<int, (IPurchaseModel, int)> BuildPurchases { get; set; } = new();
|
|
}
|
|
}
|