PIbd-21_Raspaev_N.I._FoodOr.../FoodOrders/FoodOrdersContracts/ViewModels/SetOfDishesViewModel.cs
2023-02-07 13:00:02 +04:00

16 lines
509 B
C#

using FoodOrdersDataModels.Models;
using System.ComponentModel;
namespace FoodOrdersContracts.ViewModels
{
public class SetOfDishesViewModel : ISetOfDishesModel
{
public int Id { get; set; }
[DisplayName("Название изделия")]
public string SetOfDishesName { get; set; } = string.Empty;
[DisplayName("Цена")]
public double Price { get; set; }
public Dictionary<int, (IDishModel, int)> SetOfDishesDishes {get; set;} = new();
}
}