PIbd-21_Zaharchenko_M.I._Pi.../Pizzeria/PizzeriaContracts/ViewModels/PizzaViewModel.cs
2023-02-16 07:52:03 +03:00

16 lines
486 B
C#

using PizzeriaDataModels.Models;
using System.ComponentModel;
namespace PizzeriaContracts.ViewModels
{
public class PizzaViewModel : IPizzaModel
{
public int Id { get; set; }
[DisplayName("Название пиццы")]
public string PizzaName { get; set; } = string.Empty;
[DisplayName("Цена")]
public double Price { get; set; }
public Dictionary<int, (IComponentModel, int)> PizzaComponents { get;set;} = new();
}
}