PIbd-22_Shabunov_O.A._SushiBar/SushiBarContracts/ViewModels/DishViewModel.cs

18 lines
468 B
C#
Raw Normal View History

2024-05-15 21:14:04 +04:00
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();
}
}