PIbd-22_Bazunov_AI_Hotel/Hotel/HotelContracts/ViewModels/ReservationViewModel.cs
2023-04-06 18:03:48 +04:00

16 lines
504 B
C#

using System.ComponentModel;
using HotelDataModels.Models;
namespace HotelContracts.ViewModels;
public class ReservationViewModel : IReservationModel
{
public int Id { get; set; }
[DisplayName("Start or reservation")]
public DateTime StartDate { get; set; }
[DisplayName("End or reservation")]
public DateTime EndDate { get; set; }
public int GuestId { get; set; }
public int MaitreId { get; set; }
public Dictionary<int, IRoomModel> ReservationsRooms { get; set; }
}