PIbd-21_Balberova_D.N._Sush.../SushiBar/SushiBarContracts/ViewModels/SushiViewModel.cs

19 lines
533 B
C#
Raw Normal View History

2023-01-31 15:23:18 +04:00
using SushiBarDataModels.Models;
using System.ComponentModel;
namespace SushiBarContracts.ViewModels
{
public class SushiViewModel : ISushiModel
{
public int Id { get; set; }
[DisplayName("Название изделия")]
public string SushiName { get; set; } = string.Empty;
[DisplayName("Цена")]
public double Price { get; set; }
public Dictionary<int, (IIngredientModel, int)> SushiIngredients
{
get;
set;
} = new();
}
}