PIbd-22_Shabunov_O.A._SushiBar/SushiBarContracts/ViewModels/DishViewModel.cs
2024-05-15 21:14:04 +04:00

18 lines
468 B
C#

using System.ComponentModel;
namespace SushiBarContracts.ViewModels
{
public class DishViewModel
{
public int Id { get; set; }
[DisplayName("Название блюда")]
public string DishName { get; set; } = string.Empty;
[DisplayName("Категория")]
public string Category { get; set; } = string.Empty;
public Dictionary<int, DishIngredientViewModel> Ingredients { get; set; } = new();
}
}