SushiBarBase/SushiBar/SushiBarContracts/ViewModels/ProductViewModel.cs
2024-02-05 16:44:05 +04:00

21 lines
541 B
C#

using SushiBarDataModels.Models;
using System.ComponentModel;
namespace SushiBarContracts.ViewModels
{
public class ProductViewModel : IProductModel
{
public int Id { get; set; }
[DisplayName("Название изделия")]
public string ProductName { get; set; } = string.Empty;
[DisplayName("Цена")]
public double Price { get; set; }
public Dictionary<int, (IComponentModel, int)> ProductComponents
{
get;
set;
} = new();
}
}