2023-03-19 12:11:25 +04:00

25 lines
622 B
C#

using AbstractFoodOrdersDataModel.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AbstractShopContracts.ViewModels
{
public class FoodViewModel : IFoodModel
{
public int Id {get; set; }
[DisplayName("Название продукта")]
public string FoodName { get; set; } = string.Empty;
[DisplayName("Цена")]
public double Price { get; set; }
public Dictionary<int, (IComponentModel, int)> FoodComponents { get; set; } = new();
}
}