Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
LandApp
Please create a React-JS application for the LandModule. The application has to offer the following views for the user interface: 1. LandView 2. RechtsvorschriftView 3. SteuerstrategieView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 3 views are defined below. 1. The LandView must contain the following fields: - name: IsoCode type: STRING - name: Name type: STRING An existing Land entity should be loaded from the relative URL: "/LandService/land/{id}" (HTTP-GET) If a new Land entity has been created, the new entity should be posted to the relative URL: "/LandService/land" (HTTP-POST) If an existing Land entity has been updated, the modified entity should be sent to the relative URL: "/LandService/land/{id}" (HTTP-PUT) If an existing Land entity has to be deleted, the following relative URL should be called: "/LandService/land/{id}" (HTTP-DELETE) Add a HTML table to the view with the following EnergieStatistik columns: - column: Land - column: LeuchtenAnzahl - column: Jahr - column: StromverbrauchTWh - column: AnteilPrimaerenergieProzent - column: AnteilNationalerStromProzent The table should have the title "EnergieStatistiks" und the data must be loaded from the server with the following relative URL: "/EffizienzMassnahmeTypService/energiestatistik/land/{id}" Add a HTML table to the view with the following Foerderprogramm columns: - column: Anbieter - column: Beschreibung - column: EndJahr - column: Name - column: StartJahr - column: Land The table should have the title "Foerderprogramms" und the data must be loaded from the server with the following relative URL: "/BeleuchtungsnormService/foerderprogramm/land/{id}" Add a HTML table to the view with the following Rechtsvorschrift columns: - column: GesetzName - column: Land - column: Paragraph - column: Beschreibung - column: BeleuchtungPflicht - column: BedingungenText The table should have the title "Rechtsvorschrifts" und the data must be loaded from the server with the following relative URL: "/LandService/rechtsvorschrift/land/{id}" Add a HTML table to the view with the following Gemeinde columns: - column: Land - column: Einwohner - column: Name The table should have the title "Gemeindes" und the data must be loaded from the server with the following relative URL: "/GemeindeService/gemeinde/land/{id}" 2. The RechtsvorschriftView must contain the following fields: - name: BedingungenText type: STRING - name: BeleuchtungPflicht type: BOOL - name: Beschreibung type: STRING - name: GesetzName type: STRING - name: Land type: Land - name: Paragraph type: STRING The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Rechtsvorschrift entity should be loaded from the relative URL: "/LandService/rechtsvorschrift/{id}" (HTTP-GET) If a new Rechtsvorschrift entity has been created, the new entity should be posted to the relative URL: "/LandService/rechtsvorschrift" (HTTP-POST) If an existing Rechtsvorschrift entity has been updated, the modified entity should be sent to the relative URL: "/LandService/rechtsvorschrift/{id}" (HTTP-PUT) If an existing Rechtsvorschrift entity has to be deleted, the following relative URL should be called: "/LandService/rechtsvorschrift/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Beleuchtungspflicht columns: - column: Gemeinde - column: Hinweise - column: Rechtsvorschrift - column: GiltSeitJahr The table should have the title "Beleuchtungspflichts" und the data must be loaded from the server with the following relative URL: "/LichtmanagementSystemService/beleuchtungspflicht/rechtsvorschrift/{id}" 3. The SteuerstrategieView must contain the following fields: - name: Beschreibung type: STRING - name: IstZentral type: BOOL - name: Name type: STRING - name: NutztAnruf type: BOOL - name: NutztDaemmerung type: BOOL - name: NutztGasdruck type: BOOL - name: NutztRundsteuer type: BOOL - name: NutztZeitschaltuhr type: BOOL An existing Steuerstrategie entity should be loaded from the relative URL: "/LandService/steuerstrategie/{id}" (HTTP-GET) If a new Steuerstrategie entity has been created, the new entity should be posted to the relative URL: "/LandService/steuerstrategie" (HTTP-POST) If an existing Steuerstrategie entity has been updated, the modified entity should be sent to the relative URL: "/LandService/steuerstrategie/{id}" (HTTP-PUT) If an existing Steuerstrategie entity has to be deleted, the following relative URL should be called: "/LandService/steuerstrategie/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Strassenbeleuchtungsanlage columns: - column: Strasse - column: IstPflichtanlage - column: HatHalbnachtbetrieb - column: Norm - column: Steuerstrategie - column: Baujahr - column: Hinweise - column: Beleuchtungsklasse The table should have the title "Strassenbeleuchtungsanlages" und the data must be loaded from the server with the following relative URL: "/BeleuchtungsnormService/strassenbeleuchtungsanlage/steuerstrategie/{id}" Add a HTML table to the view with the following Schaltkasten columns: - column: Code - column: Gemeinde - column: StandortBeschreibung - column: Steuerstrategie The table should have the title "Schaltkastens" und the data must be loaded from the server with the following relative URL: "/GemeindeService/schaltkasten/steuerstrategie/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum