PIbd-22_Chernyshev_Shabunov.../ComputerShopContracts/BindingModels/AssemblyBindingModel.cs

20 lines
458 B
C#

using ComputerShopDataModels.Models;
namespace ComputerShopContracts.BindingModels
{
public class AssemblyBindingModel : IAssemblyModel
{
public int Id { get; set; }
public int UserId { get; set; }
public string AssemblyName { get; set; } = string.Empty;
public double Price { get; set; }
public string Category { get; set; } = string.Empty;
public Dictionary<int, ComponentBindingModel> AssemblyComponents { get; set; } = new();
}
}