17 lines
527 B
C#
17 lines
527 B
C#
|
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; }
|
|||
|
}
|
|||
|
}
|