SUBD/Sushi/SushiContracts/ViewModels/SushiViewModel.cs

16 lines
475 B
C#
Raw Permalink Normal View History

2024-04-04 03:47:27 +04:00
using SushiDataModels;
using System.ComponentModel;
namespace SushiContracts.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();
}
}