18 lines
421 B
C#
18 lines
421 B
C#
|
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, (IIngredientModel, int)> SushiIngredients
|
|||
|
{
|
|||
|
get;
|
|||
|
set;
|
|||
|
} = new();
|
|||
|
}
|
|||
|
|
|||
|
}
|