ComputerHardwareStore_YouAr.../ComputerHardwareStore/ComputerHardwareStoreContracts/ViewModels/BuildModelContracts.cs

17 lines
527 B
C#
Raw Normal View History

2024-04-18 15:03:40 +04:00
using ComputerHardwareStoreDataModels.Models;
using System.ComponentModel;
namespace ComputerHardwareStoreContracts.ViewModels
{
public class BuildModelContracts : IBuildModel
{
public int Id { get; set; }
[DisplayName("Название сборки")]
public string BuildName { get; }
[DisplayName("Стоимость")]
public double Price { get; }
public int VendorId { get; }
public Dictionary<int, (IComponentModel, int)> BuildComponent { get; }
}
}