PIbd-21_Bakalskaya_E.D._Sus.../SushiBarContracts/ViewModels/SushiViewModel.cs

24 lines
536 B
C#
Raw Normal View History

using System.ComponentModel;
using SushiBarDataModels.Models;
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, (IComponentModel, int)> SushiComponents
{
get;
set;
} = new();
}
}