Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
FahrzeugtypApp
Please create a React-JS application for the FahrzeugtypModule. The application has to offer the following views for the user interface: 1. FahrzeugView 2. FahrzeugtypView 3. PruefungsartView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 3 views are defined below. 1. The FahrzeugView must contain the following fields: - name: Baujahr type: INT - name: BreiteM type: STRING - name: Fahrschule type: Fahrschule - name: Fahrzeugtyp type: Fahrzeugtyp - name: Fuehrerscheinklasse type: Fuehrerscheinklasse - name: HatDoppelpedale type: BOOL - name: HatZusatzspiegel type: BOOL - name: Hersteller type: STRING - name: IstPruefungsfahrzeug type: BOOL - name: IstSimulator type: BOOL - name: Kennzeichen type: STRING - name: LaengeM type: STRING - name: MaxMasseKg type: INT - name: Modell type: STRING The data source for the [Fahrzeugtyp] select control should be loaded from the relative URL: "/FahrzeugtypService/fahrzeugtyp" (HTTP-GET) The data source for the [Fahrschule] select control should be loaded from the relative URL: "/FahrschuleService/fahrschule" (HTTP-GET) The data source for the [Fuehrerscheinklasse] select control should be loaded from the relative URL: "/LandService/fuehrerscheinklasse" (HTTP-GET) An existing Fahrzeug entity should be loaded from the relative URL: "/FahrzeugtypService/fahrzeug/{id}" (HTTP-GET) If a new Fahrzeug entity has been created, the new entity should be posted to the relative URL: "/FahrzeugtypService/fahrzeug" (HTTP-POST) If an existing Fahrzeug entity has been updated, the modified entity should be sent to the relative URL: "/FahrzeugtypService/fahrzeug/{id}" (HTTP-PUT) If an existing Fahrzeug entity has to be deleted, the following relative URL should be called: "/FahrzeugtypService/fahrzeug/{id}" (HTTP-DELETE) Add a HTML table to the view with the following PraxisUnterricht columns: - column: FahrschuleZweigstelle - column: DatumZeit - column: IstNachtfahrt - column: DauerMinuten - column: IstSonderfahrt - column: IstLandstrassenfahrt - column: Fahrlehrer - column: Fahrzeug - column: Ausbildungsprogramm - column: Unterrichtsart - column: IstAutobahnfahrt The table should have the title "PraxisUnterrichts" und the data must be loaded from the server with the following relative URL: "/LandService/praxisunterricht/fahrzeug/{id}" 2. The FahrzeugtypView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING An existing Fahrzeugtyp entity should be loaded from the relative URL: "/FahrzeugtypService/fahrzeugtyp/{id}" (HTTP-GET) If a new Fahrzeugtyp entity has been created, the new entity should be posted to the relative URL: "/FahrzeugtypService/fahrzeugtyp" (HTTP-POST) If an existing Fahrzeugtyp entity has been updated, the modified entity should be sent to the relative URL: "/FahrzeugtypService/fahrzeugtyp/{id}" (HTTP-PUT) If an existing Fahrzeugtyp entity has to be deleted, the following relative URL should be called: "/FahrzeugtypService/fahrzeugtyp/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Fahrzeug columns: - column: Hersteller - column: IstSimulator - column: Baujahr - column: Fuehrerscheinklasse - column: LaengeM - column: Fahrschule - column: IstPruefungsfahrzeug - column: Fahrzeugtyp - column: Modell - column: Kennzeichen - column: HatDoppelpedale - column: MaxMasseKg - column: BreiteM - column: HatZusatzspiegel The table should have the title "Fahrzeugs" und the data must be loaded from the server with the following relative URL: "/FahrzeugtypService/fahrzeug/fahrzeugtyp/{id}" 3. The PruefungsartView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING An existing Pruefungsart entity should be loaded from the relative URL: "/FahrzeugtypService/pruefungsart/{id}" (HTTP-GET) If a new Pruefungsart entity has been created, the new entity should be posted to the relative URL: "/FahrzeugtypService/pruefungsart" (HTTP-POST) If an existing Pruefungsart entity has been updated, the modified entity should be sent to the relative URL: "/FahrzeugtypService/pruefungsart/{id}" (HTTP-PUT) If an existing Pruefungsart entity has to be deleted, the following relative URL should be called: "/FahrzeugtypService/pruefungsart/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Pruefung columns: - column: Versuch - column: Aufsichtsbehoerde - column: Pruefer - column: Anmeldung - column: OrtBeschreibung - column: Pruefungsart - column: ErgebnisCode - column: DatumZeit - column: DauerMinuten The table should have the title "Pruefungs" und the data must be loaded from the server with the following relative URL: "/FahrschuleService/pruefung/pruefungsart/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum