Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

SoftwareDesignTask: Travel Agency System

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:

HighLevel

LowLevelDesign:

LowLevel

Table of Contents

Features

  1. Create and manage travel packages with itineraries.
  2. Add destinations, activities, and passengers to travel packages.
  3. Differentiate between standard, gold, and premium passengers with varying sign-up rules.
  4. Print package itineraries, passenger lists, details4. and available activities.

Prerequisites

  • Java Development Kit (JDK) installed.
  • Java Extension Pack for Visual Studio Code (optional but recommended).

Getting Started

  1. 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.

  1. Ensure your IDE has the necessary Java extensions installed.

Usage

  1. Run the TravelAgencySystem class to execute the program.

  2. Follow the on-screen prompts to interact with the travel agency system.

Class Structure

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.

Contributing

Feel free to contribute to the project by opening issues or pull requests. Your feedback and contributions are highly appreciated.

About

Design, implement and test a software system that allows travel agencies to maintain their travel packages' itinerary and passengers.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages