18 lines
468 B
C#
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();
|
|||
|
}
|
|||
|
}
|