The HotelManager class now has been connected to some aspects of the command line interface and is functioning for a few cases such as logging in as a specific guest via email, chaging a guests information and creating a new guest account. This was implemented first over the reservation system to test and implement something on a smaller scale. Furthermore, the reservation depends on an existing guest account since a Guest ID needs to be linked to the reservation that is created. Other changes include redesigning, tweaking/ adjusting, and/ or fixing of other modules that have not yet been implemented or are partially implemented.
31 lines
508 B
C#
31 lines
508 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Ophelias.Models
|
|
{
|
|
internal class Room
|
|
{
|
|
internal int Id;
|
|
internal bool Occupied;
|
|
|
|
internal Room(int id)
|
|
{
|
|
Id = id;
|
|
Occupied = false;
|
|
}
|
|
}
|
|
|
|
internal class RoomList
|
|
{
|
|
internal List<Room> Rooms;
|
|
|
|
internal RoomList()
|
|
{
|
|
Rooms = new List<Room>();
|
|
}
|
|
}
|
|
}
|