Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
GebaeudeApp
Please create a React-JS application for the GebaeudeModule. The application has to offer the following views for the user interface: 1. DokumentationView 2. GebaeudeView 3. HausanschlussView 4. InstallationszoneView 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 DokumentationView must contain the following fields: - name: Beschreibung type: STRING - name: DateiReferenz type: STRING - name: Dokumenttyp type: STRING - name: Erstellungsdatum type: DATE - name: Gebaeude type: Gebaeude - name: Nutzungseinheit type: Nutzungseinheit - name: Stromkreis type: Stromkreis - name: Titel type: STRING The data source for the [Gebaeude] select control should be loaded from the relative URL: "/GebaeudeService/gebaeude" (HTTP-GET) The data source for the [Nutzungseinheit] select control should be loaded from the relative URL: "/NutzungseinheitService/nutzungseinheit" (HTTP-GET) The data source for the [Stromkreis] select control should be loaded from the relative URL: "/StromkreisService/stromkreis" (HTTP-GET) An existing Dokumentation entity should be loaded from the relative URL: "/GebaeudeService/dokumentation/{id}" (HTTP-GET) If a new Dokumentation entity has been created, the new entity should be posted to the relative URL: "/GebaeudeService/dokumentation" (HTTP-POST) If an existing Dokumentation entity has been updated, the modified entity should be sent to the relative URL: "/GebaeudeService/dokumentation/{id}" (HTTP-PUT) If an existing Dokumentation entity has to be deleted, the following relative URL should be called: "/GebaeudeService/dokumentation/{id}" (HTTP-DELETE) 2. The GebaeudeView must contain the following fields: - name: Adresse type: STRING - name: Baujahr type: LONG - name: Beschreibung type: STRING - name: Name type: STRING An existing Gebaeude entity should be loaded from the relative URL: "/GebaeudeService/gebaeude/{id}" (HTTP-GET) If a new Gebaeude entity has been created, the new entity should be posted to the relative URL: "/GebaeudeService/gebaeude" (HTTP-POST) If an existing Gebaeude entity has been updated, the modified entity should be sent to the relative URL: "/GebaeudeService/gebaeude/{id}" (HTTP-PUT) If an existing Gebaeude entity has to be deleted, the following relative URL should be called: "/GebaeudeService/gebaeude/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Nutzungseinheit columns: - column: Beschreibung - column: Nutzungstyp - column: Gebaeude - column: Bezeichnung The table should have the title "Nutzungseinheits" und the data must be loaded from the server with the following relative URL: "/NutzungseinheitService/nutzungseinheit/gebaeude/{id}" Add a HTML table to the view with the following Installationszone columns: - column: HoeheVonCm - column: Name - column: BreiteCm - column: HoeheBisCm - column: Gebaeude - column: Zonetype - column: Beschreibung The table should have the title "Installationszones" und the data must be loaded from the server with the following relative URL: "/GebaeudeService/installationszone/gebaeude/{id}" Add a HTML table to the view with the following Zaehlerschrank columns: - column: Schranktyp - column: Beschreibung - column: Hausanschluss - column: Standortbeschreibung - column: Gebaeude The table should have the title "Zaehlerschranks" und the data must be loaded from the server with the following relative URL: "/StromkreisService/zaehlerschrank/gebaeude/{id}" Add a HTML table to the view with the following Pruefung columns: - column: Beschreibung - column: Gebaeude - column: Pruefdatum - column: Nutzungseinheit - column: Pruefart - column: Ergebnis - column: Elektrofachkraft The table should have the title "Pruefungs" und the data must be loaded from the server with the following relative URL: "/ElektrofachkraftService/pruefung/gebaeude/{id}" Add a HTML table to the view with the following Verteiler columns: - column: Name - column: Gebaeude - column: Nutzungseinheit - column: Standortbeschreibung - column: Verteilertyp - column: Beschreibung - column: Schutzart - column: Zaehlerschrank The table should have the title "Verteilers" und the data must be loaded from the server with the following relative URL: "/StromkreisService/verteiler/gebaeude/{id}" Add a HTML table to the view with the following Hausanschluss columns: - column: Standortbeschreibung - column: Gebaeude - column: KurzschlussleistungKva - column: Anschlussart The table should have the title "Hausanschlusss" und the data must be loaded from the server with the following relative URL: "/GebaeudeService/hausanschluss/gebaeude/{id}" Add a HTML table to the view with the following Dokumentation columns: - column: Stromkreis - column: Beschreibung - column: DateiReferenz - column: Dokumenttyp - column: Titel - column: Nutzungseinheit - column: Erstellungsdatum - column: Gebaeude The table should have the title "Dokumentations" und the data must be loaded from the server with the following relative URL: "/GebaeudeService/dokumentation/gebaeude/{id}" 3. The HausanschlussView must contain the following fields: - name: Anschlussart type: STRING - name: Gebaeude type: Gebaeude - name: KurzschlussleistungKva type: DOUBLE - name: Standortbeschreibung type: STRING The data source for the [Gebaeude] select control should be loaded from the relative URL: "/GebaeudeService/gebaeude" (HTTP-GET) An existing Hausanschluss entity should be loaded from the relative URL: "/GebaeudeService/hausanschluss/{id}" (HTTP-GET) If a new Hausanschluss entity has been created, the new entity should be posted to the relative URL: "/GebaeudeService/hausanschluss" (HTTP-POST) If an existing Hausanschluss entity has been updated, the modified entity should be sent to the relative URL: "/GebaeudeService/hausanschluss/{id}" (HTTP-PUT) If an existing Hausanschluss entity has to be deleted, the following relative URL should be called: "/GebaeudeService/hausanschluss/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Zaehlerschrank columns: - column: Schranktyp - column: Beschreibung - column: Hausanschluss - column: Standortbeschreibung - column: Gebaeude The table should have the title "Zaehlerschranks" und the data must be loaded from the server with the following relative URL: "/StromkreisService/zaehlerschrank/hausanschluss/{id}" 4. The InstallationszoneView must contain the following fields: - name: Beschreibung type: STRING - name: BreiteCm type: DOUBLE - name: Gebaeude type: Gebaeude - name: HoeheBisCm type: DOUBLE - name: HoeheVonCm type: DOUBLE - name: Name type: STRING - name: Zonetype type: STRING The data source for the [Gebaeude] select control should be loaded from the relative URL: "/GebaeudeService/gebaeude" (HTTP-GET) An existing Installationszone entity should be loaded from the relative URL: "/GebaeudeService/installationszone/{id}" (HTTP-GET) If a new Installationszone entity has been created, the new entity should be posted to the relative URL: "/GebaeudeService/installationszone" (HTTP-POST) If an existing Installationszone entity has been updated, the modified entity should be sent to the relative URL: "/GebaeudeService/installationszone/{id}" (HTTP-PUT) If an existing Installationszone entity has to be deleted, the following relative URL should be called: "/GebaeudeService/installationszone/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum