22 lines
584 B
C#
22 lines
584 B
C#
|
using CanteenDataModels.Models;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.ComponentModel;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace CanteenContracts.View
|
|||
|
{
|
|||
|
public class DishViewModel : IDishModel
|
|||
|
{
|
|||
|
public int Id { get; set; }
|
|||
|
public int VisitorId { get; set; }
|
|||
|
public int ProductId { get; set; }
|
|||
|
[DisplayName("Название блюда")]
|
|||
|
public string DishName { get; set; } = string.Empty;
|
|||
|
[DisplayName("Цена")]
|
|||
|
public double Cost { get; set; }
|
|||
|
}
|
|||
|
}
|