2. Company and airline management
2.1 Create a Root company
Description
A user can create a company for himself.
Flow
- The system check if user as already a root company (newly created user shouldn't)
- The system ask user for a company name
- The user enter company name
- The system creates company
Prerequisites
- The user exists
- No root company exist for this user
2.2 Create an Airline
Description
A user can create an airline, which, in our context, is a sub-company to root company.
Flow
- The system check if an airline does not exist.
- The system proposes to the user to create a user.
- User enter required information to create an airline (name, icao code, etc)
- The system saves the airline with a default fleet associated with it.
Prerequisites
- A root company exists.