This Java program represents a simple Travel Agency System allowing travel agencies to maintain travel packages, itineraries, and passenger details. The system adheres to SOLID design principles and clean code guidelines.
HighLevelDesgin:
LowLevelDesign:
- Create and manage travel packages with itineraries.
- Add destinations, activities, and passengers to travel packages.
- Differentiate between standard, gold, and premium passengers with varying sign-up rules.
- Print package itineraries, passenger lists, details4. and available activities.
- Java Development Kit (JDK) installed.
- Java Extension Pack for Visual Studio Code (optional but recommended).
-
Clone the repository:
git clone https://github.com/your-harshith1118/travel-agency-system.git
2.2. Open the project in your preferred Java IDE or text editor.
- Ensure your IDE has the necessary Java extensions installed.
-
Run the
TravelAgencySystemclass to execute the program. -
Follow the on-screen prompts to interact with the travel agency system.
The code follows a modular structure with the following key classes:
Destination: Represents a destination with a name and a list of activities.Activity: Represents an activity with a name, description, cost, and capacity.Passenger: Represents a passenger with a name, number, balance, type, and list of activities.TravelPackage: Represents a travel package with a name, passenger capacity, itinerary, and list of passengers.TravelAgencySystem: Main class for running the program.
Feel free to contribute to the project by opening issues or pull requests. Your feedback and contributions are highly appreciated.

