CourseWork_Hotel/Hotel/HotelContracts/ViewModels/DinnerViewModel.cs

24 lines
573 B
C#

using HotelDataModels.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HotelContracts.ViewModels
{
public class DinnerViewModel : IDinnerModel
{
public int Id { get; set; }
public int HeadwaiterId { get; set; }
[DisplayName("Название обеда")]
public string DinnerName { get; set; } = string.Empty;
[DisplayName("Цена обеда")]
public double DinnetPrice { get; set; }
}
}