Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
SanitaergebaeudeView
Please create a React-JS view called "SanitaergebaeudeView" for the fields of the Sanitaergebaeude entity. The SanitaergebaeudeView must contain the following fields: - name: Barrierefrei type: BOOL - name: Baujahr type: INT - 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: INT 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: "/CampingplatzService/sanitaergebaeude/{id}" (HTTP-GET) If a new Sanitaergebaeude entity has been created, the new entity should be posted to the relative URL: "/CampingplatzService/sanitaergebaeude" (HTTP-POST) If an existing Sanitaergebaeude entity has been updated, the modified entity should be sent to the relative URL: "/CampingplatzService/sanitaergebaeude/{id}" (HTTP-PUT) If an existing Sanitaergebaeude entity has to be deleted, the following relative URL should be called: "/CampingplatzService/sanitaergebaeude/{id}" (HTTP-DELETE) Add a HTML table to the view with the following SanitaergebaeudeAusstattung columns: - column: Sanitaergebaeude - column: Kostenbeschreibung - column: Sanitaerart - column: TemperaturRegelbar - column: AnzahlUnisex - column: AnzahlGesamt - column: Tokensystem - column: HatWarmwasser - column: InNebensaisonVerfuegbar - column: AnzahlDamen - column: AnzahlHerren - column: Kostenpflichtig 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}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum