CourseWork_Hotel/Hotel/HotelContracts/ViewModels/MealPlanViewModel.cs

21 lines
570 B
C#

using HotelDataModels.Models;
using System.ComponentModel;
namespace HotelContracts.ViewModels
{
public class MealPlanViewModel : IMealPlanModel
{
[DisplayName("Название плана питания")]
public string MealPlanName { get; set; } = string.Empty;
[DisplayName("Цена плана питания")]
public double MealPlanPrice { get; set; }
public int OrganiserId { get; set; }
public int Id { get; set; }
public Dictionary<int, IMemberModel> MealPlanMembers { get; set; }
}
}