Entity Name: LuggageType
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 |
| Description | STRING | LuggageType | |
| PrimaryKey | LONG | LuggageType | |
| ServerReplicationVersion | LONG | LuggageType | |
| TypeName | STRING | LuggageType |
| Relative mapping URL | Request Method | Method Name | Microservice | Involved Entities |
| /luggagetype | POST | insertLuggageType(luggagetype) | LuggageService | LuggageType |
| /luggagetype | GET | findAllLuggageType() | LuggageService | LuggageType |
| /luggagetype/{id} | GET | findLuggageTypeById(id) | LuggageService | LuggageType |
| /luggagetype/{id} | DELETE | deleteLuggageTypeById(id) | LuggageService | LuggageType |
| /luggagetype/{id} | PUT | updateLuggageTypeById(luggagetype) | LuggageService | LuggageType |
| /luggage/luggagetype/{id} | GET | findAllLuggageOfLuggageType(id) | LuggageService | LuggageType Luggage |
Pseudo code snippet
final LuggageType luggagetype = (LuggageType) this.callMicroservice(ServiceNames.LUGGAGE_SERVICE + "/luggagetype/" + id, LuggageType.class);