Overview
Summary
Services
Contact
Donate
About
Imprint
Prompt for the
AircraftModelView
Please create a React-JS view called "AircraftModelView" for the fields of the AircraftModel entity. The AircraftModelView must contain the following fields: - name: IataCode type: STRING - name: IcaoCode type: STRING - name: Manufacturer type: AircraftManufacturer - name: Name type: STRING - name: RangeKm type: LONG - name: TypicalSeating type: LONG The data source for the [Manufacturer] select control should be loaded from the relative URL: "/CountryService/aircraftmanufacturer" (HTTP-GET) An existing AircraftModel entity should be loaded from the relative URL: "/AircraftModelService/aircraftmodel/{id}" (HTTP-GET) If a new AircraftModel entity has been created, the new entity should be posted to the relative URL: "/AircraftModelService/aircraftmodel" (HTTP-POST) If an existing AircraftModel entity has been updated, the modified entity should be sent to the relative URL: "/AircraftModelService/aircraftmodel/{id}" (HTTP-PUT) If an existing AircraftModel entity has to be deleted, the following relative URL should be called: "/AircraftModelService/aircraftmodel/{id}" (HTTP-DELETE) Add a HTML table to the view with the following SeatConfiguration columns: - column: SeatWidthInch - column: CabinClass - column: SeatPitchInch - column: SeatCount - column: AircraftModel The table should have the title "SeatConfigurations" und the data must be loaded from the server with the following relative URL: "/CabinClassService/seatconfiguration/aircraftmodel/{id}" Add a HTML table to the view with the following FlightSchedule columns: - column: OperatingDaysMask - column: EffectiveTo - column: EffectiveFrom - column: DepartureTimeLocal - column: Route - column: ArrivalTimeLocal - column: FlightNumber - column: AircraftModel The table should have the title "FlightSchedules" und the data must be loaded from the server with the following relative URL: "/FlightNumberService/flightschedule/aircraftmodel/{id}" Add a HTML table to the view with the following Aircraft columns: - column: Airline - column: SerialNumber - column: Registration - column: AircraftModel - column: Status - column: DeliveryDate The table should have the title "Aircrafts" und the data must be loaded from the server with the following relative URL: "/AirlineService/aircraft/aircraftmodel/{id}" Add a HTML table to the view with the following CrewQualification columns: - column: CrewMember - column: ValidFrom - column: AircraftModel - column: ValidTo - column: QualificationType The table should have the title "CrewQualifications" und the data must be loaded from the server with the following relative URL: "/AircraftModelService/crewqualification/aircraftmodel/{id}"
Copy prompt
Overview
Summary
Services
Contact
Donate
About
Imprint