Updated and added various models
This commit includes functionality for many of the models that the program will use. The transaction model, rate, and room model have been implemented, but still need further review to determine if they are finished. The same applies to guest and reservation. Currently all models include a simple list class, the decision to use a database or a serialized object (JSON, array, list, etc). These lists are currently a placeholder and are not guaranteed to land in main.
This commit is contained in:
@@ -6,7 +6,25 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace OpheliasOasis.Models
|
||||
{
|
||||
internal class Class1
|
||||
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>();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user