Илья Федотов 520b361e50 Base.01
2024-02-24 21:32:11 +04:00

24 lines
601 B
C#

using DinerDataModels.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DinerContracts.ViewModels
{
public class SnackViewModel : ISnackModel
{
[DisplayName("Название снэка")]
public string ProductName { get; set; } = string.Empty;
[DisplayName("Цена")]
public double Price { get; set; }
public Dictionary<int, (IFoodModel, int)> ProductComponents { get; set; } = new();
public int ID { get; set; }
}
}