2024-02-09 15:31:49 +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; }
|
2024-05-01 14:03:19 +04:00
|
|
|
|
public Dictionary<int, (IIngredientModel, int)> SushiIngredients{ get; set; } = new();
|
2024-02-09 15:31:49 +04:00
|
|
|
|
}
|
|
|
|
|
}
|