Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
StellplatzApp
Please create a React-JS application for the StellplatzModule. The application has to offer the following views for the user interface: 1. StellplatzView 2. StellplatzVerfuegbarkeitView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 2 views are defined below. 1. The StellplatzView must contain the following fields: - name: Barrierefrei type: BOOL - name: Beschreibung type: STRING - name: Campingplatz type: Campingplatz - name: HatAbwasseranschluss type: BOOL - name: HatPrivateSanitaeranlage type: BOOL - name: HatStromanschluss type: BOOL - name: HatTvAnschluss type: BOOL - name: HatWasseranschluss type: BOOL - name: HatWlan type: BOOL - name: IstDauerstellplatz type: BOOL - name: IstTouristenstellplatz type: BOOL - name: IstWohnmobilstellplatz type: BOOL - name: MaxFahrzeuglaengeMeter type: DOUBLE - name: MaxPersonen type: INT - name: NurZelt type: BOOL - name: Stellplatznummer type: STRING - name: Untergrund type: STRING The data source for the [Campingplatz] select control should be loaded from the relative URL: "/CampingplatzService/campingplatz" (HTTP-GET) An existing Stellplatz entity should be loaded from the relative URL: "/StellplatzService/stellplatz/{id}" (HTTP-GET) If a new Stellplatz entity has been created, the new entity should be posted to the relative URL: "/StellplatzService/stellplatz" (HTTP-POST) If an existing Stellplatz entity has been updated, the modified entity should be sent to the relative URL: "/StellplatzService/stellplatz/{id}" (HTTP-PUT) If an existing Stellplatz entity has to be deleted, the following relative URL should be called: "/StellplatzService/stellplatz/{id}" (HTTP-DELETE) Add a HTML table to the view with the following StellplatzAusstattung columns: - column: Stellplatz - column: Menge - column: Hinweis - column: Ausstattung The table should have the title "StellplatzAusstattungs" und the data must be loaded from the server with the following relative URL: "/AusstattungskategorieService/stellplatzausstattung/stellplatz/{id}" Add a HTML table to the view with the following StellplatzVerfuegbarkeit columns: - column: ReduzierterService - column: Saison - column: Hinweis - column: Stellplatz - column: Offen The table should have the title "StellplatzVerfuegbarkeits" und the data must be loaded from the server with the following relative URL: "/StellplatzService/stellplatzverfuegbarkeit/stellplatz/{id}" Add a HTML table to the view with the following StellplatzPreis columns: - column: Waehrung - column: Gaestetyp - column: AbwasserInklusive - column: Saison - column: PreisProNacht - column: WasserInklusive - column: StromInklusive - column: Stellplatz - column: SanitaerInklusive The table should have the title "StellplatzPreiss" und the data must be loaded from the server with the following relative URL: "/GaestetypService/stellplatzpreis/stellplatz/{id}" 2. The StellplatzVerfuegbarkeitView must contain the following fields: - name: Hinweis type: STRING - name: Offen type: BOOL - name: ReduzierterService type: BOOL - name: Saison type: Saison - name: Stellplatz type: Stellplatz The data source for the [Stellplatz] select control should be loaded from the relative URL: "/StellplatzService/stellplatz" (HTTP-GET) The data source for the [Saison] select control should be loaded from the relative URL: "/CampingplatzService/saison" (HTTP-GET) An existing StellplatzVerfuegbarkeit entity should be loaded from the relative URL: "/StellplatzService/stellplatzverfuegbarkeit/{id}" (HTTP-GET) If a new StellplatzVerfuegbarkeit entity has been created, the new entity should be posted to the relative URL: "/StellplatzService/stellplatzverfuegbarkeit" (HTTP-POST) If an existing StellplatzVerfuegbarkeit entity has been updated, the modified entity should be sent to the relative URL: "/StellplatzService/stellplatzverfuegbarkeit/{id}" (HTTP-PUT) If an existing StellplatzVerfuegbarkeit entity has to be deleted, the following relative URL should be called: "/StellplatzService/stellplatzverfuegbarkeit/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum