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. AusstattungView 2. BenutzerkontoView 3. FahrzeugtypView 4. ParkvorgangView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 4 views are defined below. 1. The AusstattungView must contain the following fields: - name: Anzahl type: LONG - name: Beschreibung type: STRING - name: IstInBetrieb type: BOOL - name: Name type: STRING - name: Parkplatzbereich type: Parkplatzbereich - name: Typ type: STRING The data source for the [Parkplatzbereich] select control should be loaded from the relative URL: "/ParkplatzbereichService/parkplatzbereich" (HTTP-GET) An existing Ausstattung entity should be loaded from the relative URL: "/FahrzeugtypService/ausstattung/{id}" (HTTP-GET) If a new Ausstattung entity has been created, the new entity should be posted to the relative URL: "/FahrzeugtypService/ausstattung" (HTTP-POST) If an existing Ausstattung entity has been updated, the modified entity should be sent to the relative URL: "/FahrzeugtypService/ausstattung/{id}" (HTTP-PUT) If an existing Ausstattung entity has to be deleted, the following relative URL should be called: "/FahrzeugtypService/ausstattung/{id}" (HTTP-DELETE) 2. The BenutzerkontoView must contain the following fields: - name: BenutzerTyp type: STRING - name: Email type: STRING - name: Name type: STRING - name: Telefon type: STRING An existing Benutzerkonto entity should be loaded from the relative URL: "/FahrzeugtypService/benutzerkonto/{id}" (HTTP-GET) If a new Benutzerkonto entity has been created, the new entity should be posted to the relative URL: "/FahrzeugtypService/benutzerkonto" (HTTP-POST) If an existing Benutzerkonto entity has been updated, the modified entity should be sent to the relative URL: "/FahrzeugtypService/benutzerkonto/{id}" (HTTP-PUT) If an existing Benutzerkonto entity has to be deleted, the following relative URL should be called: "/FahrzeugtypService/benutzerkonto/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Parkvorgang columns: - column: Endzeit - column: Kennzeichen - column: Stellplatz - column: Fahrzeugtyp - column: IstBezahlt - column: Zahlungsart - column: Waehrung - column: IstVerstoss - column: Startzeit - column: BetragBezahlt - column: Benutzerkonto The table should have the title "Parkvorgangs" und the data must be loaded from the server with the following relative URL: "/FahrzeugtypService/parkvorgang/benutzerkonto/{id}" 3. The FahrzeugtypView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING - name: Name 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 Parktarif columns: - column: MaxTagespreis - column: Parkzone - column: Beschreibung - column: Fahrzeugtyp - column: GueltigVonDatum - column: IstKostenlos - column: GrundpreisProStunde - column: GueltigBisDatum - column: Waehrung - column: Name - column: Parkplatzbereich - column: NutzungsKategorie The table should have the title "Parktarifs" und the data must be loaded from the server with the following relative URL: "/NutzungsKategorieService/parktarif/fahrzeugtyp/{id}" Add a HTML table to the view with the following Stellplatz columns: - column: IstStrassenstellplatz - column: IstMarkiert - column: NutzungsKategorie - column: StellplatzTyp - column: Fahrzeugtyp - column: Code - column: IstReserviert - column: LaengeMeter - column: Parkplatzbereich - column: ReihenBezeichnung - column: IstBarrierefrei - column: NummerInReihe - column: BreiteMeter - column: HatSchatten - column: HatLadung The table should have the title "Stellplatzs" und the data must be loaded from the server with the following relative URL: "/StadtteilService/stellplatz/fahrzeugtyp/{id}" Add a HTML table to the view with the following Parkvorgang columns: - column: Endzeit - column: Kennzeichen - column: Stellplatz - column: Fahrzeugtyp - column: IstBezahlt - column: Zahlungsart - column: Waehrung - column: IstVerstoss - column: Startzeit - column: BetragBezahlt - column: Benutzerkonto The table should have the title "Parkvorgangs" und the data must be loaded from the server with the following relative URL: "/FahrzeugtypService/parkvorgang/fahrzeugtyp/{id}" 4. The ParkvorgangView must contain the following fields: - name: Benutzerkonto type: Benutzerkonto - name: BetragBezahlt type: STRING - name: Endzeit type: DATE - name: Fahrzeugtyp type: Fahrzeugtyp - name: IstBezahlt type: BOOL - name: IstVerstoss type: BOOL - name: Kennzeichen type: STRING - name: Startzeit type: DATE - name: Stellplatz type: Stellplatz - name: Waehrung type: STRING - name: Zahlungsart type: STRING The data source for the [Benutzerkonto] select control should be loaded from the relative URL: "/FahrzeugtypService/benutzerkonto" (HTTP-GET) The data source for the [Stellplatz] select control should be loaded from the relative URL: "/StadtteilService/stellplatz" (HTTP-GET) The data source for the [Fahrzeugtyp] select control should be loaded from the relative URL: "/FahrzeugtypService/fahrzeugtyp" (HTTP-GET) An existing Parkvorgang entity should be loaded from the relative URL: "/FahrzeugtypService/parkvorgang/{id}" (HTTP-GET) If a new Parkvorgang entity has been created, the new entity should be posted to the relative URL: "/FahrzeugtypService/parkvorgang" (HTTP-POST) If an existing Parkvorgang entity has been updated, the modified entity should be sent to the relative URL: "/FahrzeugtypService/parkvorgang/{id}" (HTTP-PUT) If an existing Parkvorgang entity has to be deleted, the following relative URL should be called: "/FahrzeugtypService/parkvorgang/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Verstossfall columns: - column: Waehrung - column: VerstossTyp - column: Rechtsgrundlage - column: FestgestelltAm - column: Parkvorgang - column: Parkplatzbereich - column: IstBezahlt - column: BezahltAm - column: Bussgeld The table should have the title "Verstossfalls" und the data must be loaded from the server with the following relative URL: "/StadtteilService/verstossfall/parkvorgang/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum