Computer_Hardware_Store/HardwareShop/HardwareShopContracts/ViewModels/BuildViewModel.cs

24 lines
678 B
C#

using FoodOrdersDataModels.Models;
using HardwareShopDataModels.Models;
using System.ComponentModel;
namespace FoodOrdersContracts.ViewModels
{
public class BuildSearchModel : IBuildModel
{
public int Id { get; set; }
[DisplayName("Цена")]
public decimal Price { get; set; }
[DisplayName("Название компонента")]
public string BuildName { get; set; } = string.Empty;
[DisplayName("Клиент")]
public string UserEmail { get; set; } = string.Empty;
public int UserID { get; set; }
public Dictionary<int, (IComponentModel, int)>? BuildComponents { get; set; }
}
}