Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
AusbaugradDefinitionApp
Please create a React-JS application for the AusbaugradDefinitionModule. The application has to offer the following views for the user interface: 1. AusbaugradDefinitionView 2. KraftwerkAusbaugradView 3. LeistungsFormelView 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 AusbaugradDefinitionView must contain the following fields: - name: Beschreibung type: STRING - name: FormelText type: STRING - name: Name type: STRING An existing AusbaugradDefinition entity should be loaded from the relative URL: "/AusbaugradDefinitionService/ausbaugraddefinition/{id}" (HTTP-GET) If a new AusbaugradDefinition entity has been created, the new entity should be posted to the relative URL: "/AusbaugradDefinitionService/ausbaugraddefinition" (HTTP-POST) If an existing AusbaugradDefinition entity has been updated, the modified entity should be sent to the relative URL: "/AusbaugradDefinitionService/ausbaugraddefinition/{id}" (HTTP-PUT) If an existing AusbaugradDefinition entity has to be deleted, the following relative URL should be called: "/AusbaugradDefinitionService/ausbaugraddefinition/{id}" (HTTP-DELETE) Add a HTML table to the view with the following KraftwerkAusbaugrad columns: - column: SpeichervolumenM3 - column: AusbaugradWert - column: Wasserkraftwerk - column: AusbaugradDefinition - column: BemessungsAbflussM3s - column: MittlererAbflussM3s - column: JahresZuflussM3 The table should have the title "KraftwerkAusbaugrads" und the data must be loaded from the server with the following relative URL: "/AusbaugradDefinitionService/kraftwerkausbaugrad/ausbaugraddefinition/{id}" 2. The KraftwerkAusbaugradView must contain the following fields: - name: AusbaugradDefinition type: AusbaugradDefinition - name: AusbaugradWert type: DOUBLE - name: BemessungsAbflussM3s type: DOUBLE - name: JahresZuflussM3 type: DOUBLE - name: MittlererAbflussM3s type: DOUBLE - name: SpeichervolumenM3 type: DOUBLE - name: Wasserkraftwerk type: Wasserkraftwerk The data source for the [Wasserkraftwerk] select control should be loaded from the relative URL: "/WasserkraftwerkService/wasserkraftwerk" (HTTP-GET) The data source for the [AusbaugradDefinition] select control should be loaded from the relative URL: "/AusbaugradDefinitionService/ausbaugraddefinition" (HTTP-GET) An existing KraftwerkAusbaugrad entity should be loaded from the relative URL: "/AusbaugradDefinitionService/kraftwerkausbaugrad/{id}" (HTTP-GET) If a new KraftwerkAusbaugrad entity has been created, the new entity should be posted to the relative URL: "/AusbaugradDefinitionService/kraftwerkausbaugrad" (HTTP-POST) If an existing KraftwerkAusbaugrad entity has been updated, the modified entity should be sent to the relative URL: "/AusbaugradDefinitionService/kraftwerkausbaugrad/{id}" (HTTP-PUT) If an existing KraftwerkAusbaugrad entity has to be deleted, the following relative URL should be called: "/AusbaugradDefinitionService/kraftwerkausbaugrad/{id}" (HTTP-DELETE) 3. The LeistungsFormelView must contain the following fields: - name: Beschreibung type: STRING - name: FormelText type: STRING - name: Name type: STRING An existing LeistungsFormel entity should be loaded from the relative URL: "/AusbaugradDefinitionService/leistungsformel/{id}" (HTTP-GET) If a new LeistungsFormel entity has been created, the new entity should be posted to the relative URL: "/AusbaugradDefinitionService/leistungsformel" (HTTP-POST) If an existing LeistungsFormel entity has been updated, the modified entity should be sent to the relative URL: "/AusbaugradDefinitionService/leistungsformel/{id}" (HTTP-PUT) If an existing LeistungsFormel entity has to be deleted, the following relative URL should be called: "/AusbaugradDefinitionService/leistungsformel/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum