Entity Name: AirplaneType
Data Schema: AirportLogistics
Master Service: AirplaneService
| 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 |
| AirplaneProducer | LONG | AirplaneType | AirplaneProducer |
| PrimaryKey | LONG | AirplaneType | |
| ServerReplicationVersion | LONG | AirplaneType | |
| TypeName | STRING | AirplaneType |
| Relative mapping URL | Request Method | Method Name | Microservice | Involved Entities |
| /airplanetype/airplaneproducer/{id} | GET | findAllAirplaneTypeOfAirplaneProducer(id) | AirplaneService | AirplaneProducer AirplaneType |
| /airplanetype | GET | findAllAirplaneType() | AirplaneService | AirplaneType |
| /airplanetype/{id} | GET | findAirplaneTypeById(id) | AirplaneService | AirplaneType |
| /airplane/airplanetype/{id} | GET | findAllAirplaneOfAirplaneType(id) | AirplaneService | AirplaneType Airplane |
| /airplanetype/{id} | DELETE | deleteAirplaneTypeById(id) | AirplaneService | AirplaneType |
| /airplanetype/{id} | PUT | updateAirplaneTypeById(airplanetype) | AirplaneService | AirplaneType |
| /airplanetype | POST | insertAirplaneType(airplanetype) | AirplaneService | AirplaneType |
Pseudo code snippet
final AirplaneType airplanetype = (AirplaneType) this.callMicroservice(ServiceNames.AIRPLANE_SERVICE + "/airplanetype/" + id, AirplaneType.class);