2023-04-01 19:41:32 +04:00
|
|
|
|
|
|
|
|
|
using HotelDataModels.Models;
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
|
|
|
|
|
namespace HotelContracts.ViewModels
|
|
|
|
|
{
|
|
|
|
|
public class RoomViewModel : IRoomModel
|
|
|
|
|
{
|
|
|
|
|
public int HeadwaiterId { get; set; }
|
|
|
|
|
|
|
|
|
|
public int MealPlanId { get; set; }
|
|
|
|
|
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
|
|
|
|
|
[DisplayName("Название комнаты")]
|
|
|
|
|
public string RoomName { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
[DisplayName("Корпус комнаты")]
|
|
|
|
|
public string RoomFrame { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
[DisplayName("Стоимость комнаты")]
|
|
|
|
|
public double RoomPrice { get; set; }
|
2023-04-02 16:41:20 +04:00
|
|
|
|
public Dictionary<int, IDinnerModel> RoomDinners { get; set; }
|
2023-04-01 19:41:32 +04:00
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|