This commit is contained in:
Вячеслав Иванов 2024-03-23 18:17:25 +04:00
parent ded577a8eb
commit e7701b5284
2 changed files with 6 additions and 2 deletions

View File

@ -9,6 +9,6 @@ namespace HotelContracts.BindingModels
public int Id { get; set; }
public string NameHall { get; set; } = string.Empty;
public DateTime? BookingDate { get; set; }
public Dictionary<int, ILunchModel> ConferenceBookingLunches { get; set; }
public Dictionary<int, ILunchModel> ConferenceBookingLunches { get; set; } = new();
}
}

View File

@ -1,15 +1,19 @@
using HotelDataModels.Models;
using System.ComponentModel;
namespace HotelContracts.BindingModels
{
public class RoomBindingModel : IRoomModel
{
[DisplayName("Название комнаты")]
public string RoomName { get; set; } = string.Empty;
[DisplayName("Корпус комнаты")]
public string RoomFrame { get; set; } = string.Empty;
public double RoomPrice { get; set; }
public int MealPlanId { get; set; }
public int HeadwaiterId { get; set; }
public int Id { get; set; }
public Dictionary<int, ILunchModel> RoomLunches { get; set; }
public Dictionary<int, ILunchModel> RoomLunches { get; set; } = new();
}
}