2024-05-03 21:12:43 +04:00
|
|
|
|
using HotelDataModels.Enums;
|
|
|
|
|
using System;
|
2024-04-10 13:25:57 +04:00
|
|
|
|
using System.Collections.Generic;
|
2024-05-03 21:12:43 +04:00
|
|
|
|
using System.ComponentModel;
|
2024-04-10 13:25:57 +04:00
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
2024-05-03 21:00:31 +04:00
|
|
|
|
namespace HotelContracts.ViewModels
|
2024-04-10 13:25:57 +04:00
|
|
|
|
{
|
2024-05-03 21:00:31 +04:00
|
|
|
|
public class BookingViewModel
|
2024-04-10 13:25:57 +04:00
|
|
|
|
{
|
2024-05-03 21:12:43 +04:00
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
public int RoomId { get; set; }
|
|
|
|
|
|
|
|
|
|
public int ClientId { get; set; }
|
|
|
|
|
[DisplayName("Дата заезда")]
|
|
|
|
|
public DateTime ArrivalDate { get; set; } = DateTime.Now;
|
|
|
|
|
[DisplayName("Дата выезда")]
|
|
|
|
|
public DateTime DepartureDate { get; set; } = DateTime.Now;
|
|
|
|
|
[DisplayName("Количество проведенных часов")]
|
|
|
|
|
public int NumberHoursSpent { get; set; }
|
|
|
|
|
[DisplayName("Статус проверки")]
|
|
|
|
|
public AcceptanceStatus Status { get; set; } = AcceptanceStatus.Неизвестен;
|
|
|
|
|
[DisplayName("Полная стоимость")]
|
|
|
|
|
public int TotalCost { get; set; }
|
|
|
|
|
}
|
2024-04-10 13:25:57 +04:00
|
|
|
|
}
|