Entity Name: Luggage
Data Schema: AirportLogistics
Master Service: LuggageService
3.1 AirplaneService | 3.2 AirportService | 3.3 CargoService | 3.4 CountryService | 3.5 EmployeeService | 3.6 LuggageService |
3.7 PassengerBookingService |
Property Name | Datatype | Data Entity | Reference Entity |
Content | STRING | Luggage | |
FlightBooking | LONG | Luggage | PassengerBooking |
LuggageType | LONG | Luggage | LuggageType |
PrimaryKey | LONG | Luggage | |
ServerReplicationVersion | LONG | Luggage | |
Weighting | DOUBLE | Luggage |
Relative mapping URL | Request Method | Method Name | Microservice | Involved Entities |
/luggage/{id} | GET | findLuggageById(id) | LuggageService | Luggage |
/luggage | GET | findAllLuggage() | LuggageService | Luggage |
/luggage | POST | insertLuggage(luggage) | LuggageService | Luggage |
/luggage/flightbooking/{id} | GET | findAllLuggageOfFlightBooking(id) | LuggageService | PassengerBooking Luggage |
/luggage/{id} | DELETE | deleteLuggageById(id) | LuggageService | Luggage |
/luggage/{id} | PUT | updateLuggageById(luggage) | LuggageService | Luggage |
/luggagecheck/luggage/{id} | GET | findAllLuggageCheckOfLuggage(id) | LuggageService | Luggage LuggageCheck |
/luggage/luggagetype/{id} | GET | findAllLuggageOfLuggageType(id) | LuggageService | LuggageType Luggage |
Pseudo code snippet
final Luggage luggage = (Luggage) this.callMicroservice(ServiceNames.LUGGAGE_SERVICE + "/luggage/" + id, Luggage.class);