PIbd-22_Shabunov_O.A._SushiBar/SushiBarContracts/ViewModels/DishViewModel.cs
2024-05-24 01:56:34 +04:00

22 lines
605 B
C#

using SushiBarDataModels.Models;
using System.ComponentModel;
namespace SushiBarContracts.ViewModels
{
public class DishViewModel : IDishModel
{
public int Id { get; set; }
[DisplayName("Название блюда")]
public string DishName { get; set; } = string.Empty;
[DisplayName("Категория")]
public string Category { get; set; } = string.Empty;
[DisplayName("Стоимость")]
public double Price { get; set; }
public Dictionary<int, (IIngredientModel, int)> DishIngredients { get; set; } = new();
}
}