Admin username – admin
Admin password – admin123
-
- Login
- Admin Login
- SignUp
- Book Hotel
- Exit
-
- Username – error if wrong username input, asks to try again
- Password – error if wrong password input, asks to try again
- Opens booking interface
-
- Username – error if wrong username input, asks to try again
- Password – error if wrong password input, asks to try again
-
- Add City
- Add Hotel
- Check Booking history
- Exit
-
- Enter city name – error if city already exists, asks if to add hotel or exit
- Enter number of hotels – error if wrong input, such as anything other than int, asks to retry
- Enter hotel name
- Enter no of room type - error if wrong input, such as anything other than int, asks to retry
- Enter room type
- Enter no of rooms
- Enter price
- Back to admin menu
-
- Enter city name
- Enter number of hotels – error if wrong input, such as anything other than int, asks to retry
- Enter hotel name
- Enter no of room type - error if wrong input, such as anything other than int, asks to retry
- Enter room type
- Enter no of rooms
- Enter price
- Back to admin menu
-
- Enter username – error if no username with input exists, asks to retry
- Back to Admin menu
- Exit – back to Main Menu
-
- Enter name
- Enter username – error if username already exists, asks to retry
- Enter password
- Enter DOB – error, if input date format is wrong or illegal date is entered (YYYY-MM-DD)
- Enter mobile number
- Enter email
- Opens booking interface
-
- Enter city – error, if city database doesn’t exists, asks choices
- Select hotel – error, if wrong input entered, asks to retry
- Select room type - error, if wrong input entered, asks to retry
- Enter no of rooms – error, if wrong input or input is larger than required
- Enter check in date – error, if wrong date format or illegal dates or date before current date
- Enter check out date - error, if wrong date format or illegal dates entered
-
- Yes – confirms booking, opens Main Menu List
-
- No –
- City – opens city interface
- Exit – Main Menu