new
This commit is contained in:
parent
ded577a8eb
commit
e7701b5284
@ -9,6 +9,6 @@ namespace HotelContracts.BindingModels
|
|||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
public string NameHall { get; set; } = string.Empty;
|
public string NameHall { get; set; } = string.Empty;
|
||||||
public DateTime? BookingDate { get; set; }
|
public DateTime? BookingDate { get; set; }
|
||||||
public Dictionary<int, ILunchModel> ConferenceBookingLunches { get; set; }
|
public Dictionary<int, ILunchModel> ConferenceBookingLunches { get; set; } = new();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,15 +1,19 @@
|
|||||||
using HotelDataModels.Models;
|
using HotelDataModels.Models;
|
||||||
|
using System.ComponentModel;
|
||||||
|
|
||||||
namespace HotelContracts.BindingModels
|
namespace HotelContracts.BindingModels
|
||||||
{
|
{
|
||||||
public class RoomBindingModel : IRoomModel
|
public class RoomBindingModel : IRoomModel
|
||||||
{
|
{
|
||||||
|
[DisplayName("Название комнаты")]
|
||||||
public string RoomName { get; set; } = string.Empty;
|
public string RoomName { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
[DisplayName("Корпус комнаты")]
|
||||||
public string RoomFrame { get; set; } = string.Empty;
|
public string RoomFrame { get; set; } = string.Empty;
|
||||||
public double RoomPrice { get; set; }
|
public double RoomPrice { get; set; }
|
||||||
public int MealPlanId { get; set; }
|
public int MealPlanId { get; set; }
|
||||||
public int HeadwaiterId { get; set; }
|
public int HeadwaiterId { get; set; }
|
||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
public Dictionary<int, ILunchModel> RoomLunches { get; set; }
|
public Dictionary<int, ILunchModel> RoomLunches { get; set; } = new();
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user