SUBD_SushiBar/SushiBar/SushiBarContracts/ViewModels/MenuViewModel.cs

26 lines
628 B
C#

using SushiBarDataModels.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SushiBarContracts.ViewModels
{
public class MenuViewModel : IMenuModel
{
public int Id { get; set; }
[DisplayName("Название блюда")]
public string FoodName { get; set; } = string.Empty;
[DisplayName("Описание блюда")]
public string Description { get; set; } = string.Empty;
[DisplayName("Цена")]
public double Price { get; set; }
}
}