PIbd_23_Valova_A._D._SushiBar/SushiBar/SushiBarContracts/BindingModels/SushiBindingModel.cs

23 lines
535 B
C#
Raw Normal View History

2024-02-12 15:00:02 +04:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SushiBarDataModels.Models;
namespace SushiBarContracts.BindingModels
{
public class SushiBindingModel : ISushiModel
{
public int Id { get; set; }
public string SushiName { get; set; } = string.Empty;
public double Price { get; set; }
public Dictionary<int, (IComponentModel, int)> SushiComponents
{
get;
set;
} = new();
}
}