Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
AusstattungApp
Please create a React-JS application for the AusstattungModule. The application has to offer the following views for the user interface: 1. AusstattungView 2. AusstattungZuordnungView 3. LeistungsKategorieView 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 AusstattungView must contain the following fields: - name: Beschreibung type: STRING - name: IstAktiv type: BOOL - name: Kaufdatum type: DATE - name: LetzteWartung type: DATE - name: Name type: STRING - name: Seriennummer type: STRING An existing Ausstattung entity should be loaded from the relative URL: "/AusstattungService/ausstattung/{id}" (HTTP-GET) If a new Ausstattung entity has been created, the new entity should be posted to the relative URL: "/AusstattungService/ausstattung" (HTTP-POST) If an existing Ausstattung entity has been updated, the modified entity should be sent to the relative URL: "/AusstattungService/ausstattung/{id}" (HTTP-PUT) If an existing Ausstattung entity has to be deleted, the following relative URL should be called: "/AusstattungService/ausstattung/{id}" (HTTP-DELETE) Add a HTML table to the view with the following AusstattungZuordnung columns: - column: BisDatum - column: Raum - column: VonDatum - column: Ausstattung The table should have the title "AusstattungZuordnungs" und the data must be loaded from the server with the following relative URL: "/AusstattungService/ausstattungzuordnung/ausstattung/{id}" 2. The AusstattungZuordnungView must contain the following fields: - name: Ausstattung type: Ausstattung - name: BisDatum type: DATE - name: Raum type: Raum - name: VonDatum type: DATE The data source for the [Raum] select control should be loaded from the relative URL: "/PraxisStandortService/raum" (HTTP-GET) The data source for the [Ausstattung] select control should be loaded from the relative URL: "/AusstattungService/ausstattung" (HTTP-GET) An existing AusstattungZuordnung entity should be loaded from the relative URL: "/AusstattungService/ausstattungzuordnung/{id}" (HTTP-GET) If a new AusstattungZuordnung entity has been created, the new entity should be posted to the relative URL: "/AusstattungService/ausstattungzuordnung" (HTTP-POST) If an existing AusstattungZuordnung entity has been updated, the modified entity should be sent to the relative URL: "/AusstattungService/ausstattungzuordnung/{id}" (HTTP-PUT) If an existing AusstattungZuordnung entity has to be deleted, the following relative URL should be called: "/AusstattungService/ausstattungzuordnung/{id}" (HTTP-DELETE) 3. The LeistungsKategorieView must contain the following fields: - name: AnzeigeReihenfolge type: LONG - name: Beschreibung type: STRING - name: IstAktiv type: BOOL - name: Name type: STRING An existing LeistungsKategorie entity should be loaded from the relative URL: "/AusstattungService/leistungskategorie/{id}" (HTTP-GET) If a new LeistungsKategorie entity has been created, the new entity should be posted to the relative URL: "/AusstattungService/leistungskategorie" (HTTP-POST) If an existing LeistungsKategorie entity has been updated, the modified entity should be sent to the relative URL: "/AusstattungService/leistungskategorie/{id}" (HTTP-PUT) If an existing LeistungsKategorie entity has to be deleted, the following relative URL should be called: "/AusstattungService/leistungskategorie/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Leistung columns: - column: Name - column: BasisPreis - column: IstAktiv - column: DauerMinuten - column: Beschreibung - column: IstMedizinisch - column: LeistungsKategorie The table should have the title "Leistungs" und the data must be loaded from the server with the following relative URL: "/LeistungService/leistung/leistungskategorie/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum