PIbd-21_TeryokhinAS_Bar_Base/Bar/BarContracts/ViewModels/CocktailViewModel.cs

25 lines
650 B
C#

using BarDataModels.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BarContracts.ViewModels
{
public class CocktailViewModel : ICocktailModel
{
public int Id { get; set; }
[DisplayName("Название изделия")]
public string CocktailName { get; set; } = string.Empty;
[DisplayName("Цена")]
public double Price { get; set; }
public Dictionary<int, (IComponentModel, int)> CocktailComponents
{
get;
set;
} = new();
}
}