Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
SanitaerartApp
Please create a React-JS application for the SanitaerartModule. The application has to offer the following views for the user interface: 1. GaestetypView 2. SanitaerartView 3. SanitaergebaeudeView 4. SanitaergebaeudeAusstattungView 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 GaestetypView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING - name: Name type: STRING An existing Gaestetyp entity should be loaded from the relative URL: "/SanitaerartService/gaestetyp/{id}" (HTTP-GET) If a new Gaestetyp entity has been created, the new entity should be posted to the relative URL: "/SanitaerartService/gaestetyp" (HTTP-POST) If an existing Gaestetyp entity has been updated, the modified entity should be sent to the relative URL: "/SanitaerartService/gaestetyp/{id}" (HTTP-PUT) If an existing Gaestetyp entity has to be deleted, the following relative URL should be called: "/SanitaerartService/gaestetyp/{id}" (HTTP-DELETE) Add a HTML table to the view with the following StellplatzPreis columns: - column: Saison - column: Stellplatz - column: AbwasserInklusive - column: StromInklusive - column: WasserInklusive - column: PreisProNacht - column: Gaestetyp - column: Waehrung - column: SanitaerInklusive The table should have the title "StellplatzPreiss" und the data must be loaded from the server with the following relative URL: "/CampingplatzService/stellplatzpreis/gaestetyp/{id}" 2. The SanitaerartView must contain the following fields: - name: Barrierefrei type: BOOL - name: Beschreibung type: STRING - name: Code type: STRING - name: IstChemieToilette type: BOOL - name: IstDusche type: BOOL - name: IstPrivatkabine type: BOOL - name: IstSpuelbereich type: BOOL - name: IstToilette type: BOOL - name: IstWaeschebereich type: BOOL - name: IstWaschbecken type: BOOL - name: Name type: STRING An existing Sanitaerart entity should be loaded from the relative URL: "/SanitaerartService/sanitaerart/{id}" (HTTP-GET) If a new Sanitaerart entity has been created, the new entity should be posted to the relative URL: "/SanitaerartService/sanitaerart" (HTTP-POST) If an existing Sanitaerart entity has been updated, the modified entity should be sent to the relative URL: "/SanitaerartService/sanitaerart/{id}" (HTTP-PUT) If an existing Sanitaerart entity has to be deleted, the following relative URL should be called: "/SanitaerartService/sanitaerart/{id}" (HTTP-DELETE) Add a HTML table to the view with the following SanitaergebaeudeAusstattung columns: - column: AnzahlHerren - column: TemperaturRegelbar - column: Sanitaerart - column: AnzahlGesamt - column: InNebensaisonVerfuegbar - column: Sanitaergebaeude - column: Kostenpflichtig - column: HatWarmwasser - column: Tokensystem - column: AnzahlDamen - column: Kostenbeschreibung - column: AnzahlUnisex The table should have the title "SanitaergebaeudeAusstattungs" und the data must be loaded from the server with the following relative URL: "/SanitaerartService/sanitaergebaeudeausstattung/sanitaerart/{id}" 3. The SanitaergebaeudeView must contain the following fields: - name: Barrierefrei type: BOOL - name: Baujahr type: LONG - name: Beheizt type: BOOL - name: Beschreibung type: STRING - name: Campingplatz type: Campingplatz - name: EntfernungRezeptionMeter type: DOUBLE - name: HatBabyraum type: BOOL - name: IstHauptgebaeude type: BOOL - name: Name type: STRING - name: Renovierungsjahr type: LONG The data source for the [Campingplatz] select control should be loaded from the relative URL: "/CampingplatzService/campingplatz" (HTTP-GET) An existing Sanitaergebaeude entity should be loaded from the relative URL: "/SanitaerartService/sanitaergebaeude/{id}" (HTTP-GET) If a new Sanitaergebaeude entity has been created, the new entity should be posted to the relative URL: "/SanitaerartService/sanitaergebaeude" (HTTP-POST) If an existing Sanitaergebaeude entity has been updated, the modified entity should be sent to the relative URL: "/SanitaerartService/sanitaergebaeude/{id}" (HTTP-PUT) If an existing Sanitaergebaeude entity has to be deleted, the following relative URL should be called: "/SanitaerartService/sanitaergebaeude/{id}" (HTTP-DELETE) Add a HTML table to the view with the following SanitaergebaeudeAusstattung columns: - column: AnzahlHerren - column: TemperaturRegelbar - column: Sanitaerart - column: AnzahlGesamt - column: InNebensaisonVerfuegbar - column: Sanitaergebaeude - column: Kostenpflichtig - column: HatWarmwasser - column: Tokensystem - column: AnzahlDamen - column: Kostenbeschreibung - column: AnzahlUnisex The table should have the title "SanitaergebaeudeAusstattungs" und the data must be loaded from the server with the following relative URL: "/SanitaerartService/sanitaergebaeudeausstattung/sanitaergebaeude/{id}" 4. The SanitaergebaeudeAusstattungView must contain the following fields: - name: AnzahlDamen type: LONG - name: AnzahlGesamt type: LONG - name: AnzahlHerren type: LONG - name: AnzahlUnisex type: LONG - name: HatWarmwasser type: BOOL - name: InNebensaisonVerfuegbar type: BOOL - name: Kostenbeschreibung type: STRING - name: Kostenpflichtig type: BOOL - name: Sanitaerart type: Sanitaerart - name: Sanitaergebaeude type: Sanitaergebaeude - name: TemperaturRegelbar type: BOOL - name: Tokensystem type: STRING The data source for the [Sanitaergebaeude] select control should be loaded from the relative URL: "/SanitaerartService/sanitaergebaeude" (HTTP-GET) The data source for the [Sanitaerart] select control should be loaded from the relative URL: "/SanitaerartService/sanitaerart" (HTTP-GET) An existing SanitaergebaeudeAusstattung entity should be loaded from the relative URL: "/SanitaerartService/sanitaergebaeudeausstattung/{id}" (HTTP-GET) If a new SanitaergebaeudeAusstattung entity has been created, the new entity should be posted to the relative URL: "/SanitaerartService/sanitaergebaeudeausstattung" (HTTP-POST) If an existing SanitaergebaeudeAusstattung entity has been updated, the modified entity should be sent to the relative URL: "/SanitaerartService/sanitaergebaeudeausstattung/{id}" (HTTP-PUT) If an existing SanitaergebaeudeAusstattung entity has to be deleted, the following relative URL should be called: "/SanitaerartService/sanitaergebaeudeausstattung/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum