2024-04-10 13:25:57 +04:00
|
|
|
|
using System;
|
|
|
|
|
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 RoomViewModel
|
2024-04-10 13:25:57 +04:00
|
|
|
|
{
|
2024-05-03 21:12:43 +04:00
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
|
|
|
|
|
public int WorkerId { get; set; }
|
|
|
|
|
[DisplayName("Номер комнаты")]
|
|
|
|
|
public int Number { get; set; }
|
|
|
|
|
[DisplayName("Этаж")]
|
|
|
|
|
public int Floor { get; set; }
|
|
|
|
|
[DisplayName("Количество спальных мест")]
|
|
|
|
|
public int NumberOfBeds { get; set; }
|
|
|
|
|
[DisplayName("Состояние")]
|
|
|
|
|
public string Condition { get; set; } = string.Empty;
|
|
|
|
|
[DisplayName("Цена")]
|
|
|
|
|
public int Cost { get; set; }
|
|
|
|
|
}
|
2024-04-10 13:25:57 +04:00
|
|
|
|
}
|