25 lines
652 B
C#
25 lines
652 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();
|
|
}
|
|
}
|