ISEbd-21_Khaliullov_R.A._Co.../Canteen/CanteenContracts/ViewModels/DishViewModel.cs
Руслан Халиуллов 0cf8214b3e 2 этап
2024-04-30 18:48:42 +04:00

21 lines
577 B
C#

using CanteenDataModels.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CanteenContracts.ViewModels
{
public class DishViewModel : IDishModel
{
public int Id { get; set; }
[DisplayName("Название ингредиента")]
public string DishName { get; set; } = string.Empty;
[DisplayName("Цена")]
public double DishPrice { get; set; }
public Dictionary<int, (IIngredientModel, int)> DishIngredients { get; set; } = new();
}
}