PIbd-22_Bazunov_A.I._SushiBar/SushiBar/SushiBarContracts/ViewModels/SushiViewModel.cs
2023-01-30 18:27:32 +04:00

18 lines
474 B
C#

using SushiBarDataModels.Models;
using System.ComponentModel;
namespace SushiBarContracts.ViewModels
{
public class SushiViewModel : ISushiModel
{
public int Id { get; set; }
[DisplayName("Name of Product")]
public string SushiName { get; set; } = string.Empty;
[DisplayName("Cost")]
public double Price { get; set; }
public Dictionary<int, (IComponentModel, int)> SushiComponents { get; set; } = new();
}
}