Restaurant:
privaet:
RestaurantInfo restaurantInfo
TableManager tableManger
RestaurantInfo:
private:
String name
String address
String phoneNumber
Table:
private:
int tableId
int seatingCapacity
boolean isReserved
CustomerDetials:
private:
String name
Stirng gender
String phone
String address
Request:
private:
int requestId
Date date
TimeSpan timeSpan
int tableId
CustomerDetials coustomerDetails
TimeSpan:
private:
String start;
String end
TableManager:
private:
ArrayList<Table> tables
ArrayList<Request> waitingList
public:
boolean CheckTableAvailability(Request r)
void bookTable(Request r)