ComputerHardwareStore_YouAr.../ComputerHardwareStore/ComputerHardwareStoreContracts/BindingModels/BuildBindingModel.cs
2024-05-01 12:35:49 +04:00

15 lines
508 B
C#

using ComputerHardwareStoreDataModels.Models;
namespace ComputerHardwareStoreContracts.BindingModels
{
public class BuildBindingModel : IBuildModel
{
public int Id { get; set; }
public string Name { get; set; } = string.Empty;
public double Price { get; set; }
public int VendorId { get; set; }
public Dictionary<int, (IComponentModel, int)> BuildComponents { get; set; } = new();
public List<ICommentModel> Comments { get; set; } = new();
}
}