This Java-based project serves as a travel agency management system. It enables travel agencies to create and manage travel packages, handle itineraries, and manage passengers with various booking privileges.
The Travel Agency Management System provides functionalities to:
- Create and manage travel packages with detailed itineraries
- Manage destinations, activities, and booking capacities
- Handle different passenger types: standard, gold, and premium
- Perform booking and activity sign-up based on passenger types
- Travel Packages: Create, edit, and manage packages with detailed itineraries.
- Passenger Management: Register and manage passengers with different booking privileges.
- Destination Activities: Allocate activities to destinations with capacity management.
- Passenger Types: Handle different passenger types with specific booking rules.
-
Clone the Repository:
git clone https://github.com/your-username/travel-agency.git
-
Compile the Java Files:
javac -d out -cp "lib/*" src/*.java
-
Run the Program:
java -cp "out;lib/*" Main
Describe how to use the system, create travel packages, add destinations, activities, and manage passengers. Include necessary steps and commands.
To run unit tests, execute the following commands:
# Compile the test files
javac -d out -cp "lib/*" test/*.java
# Run the tests
java -cp "out;lib/*" org.junit.platform.console.ConsoleLauncher --class-path out --scan-class-path