Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
UnternehmenApp
Please create a React-JS application for the UnternehmenModule. The application has to offer the following views for the user interface: 1. ApothekeView 2. PraxisartView 3. PraxisinhaberView 4. UnternehmenView 5. VerwaltungsregionView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 5 views are defined below. 1. The ApothekeView must contain the following fields: - name: Betaeubungsmittel type: BOOL - name: Lagerbeschreibung type: STRING - name: Lizenznummer type: STRING - name: Notizen type: STRING - name: Tierarztpraxis type: Tierarztpraxis - name: VerantwortlicherTierarzt type: Tierarzt The data source for the [Tierarztpraxis] select control should be loaded from the relative URL: "/TierarztpraxisService/tierarztpraxis" (HTTP-GET) The data source for the [VerantwortlicherTierarzt] select control should be loaded from the relative URL: "/TierarztpraxisService/tierarzt" (HTTP-GET) An existing Apotheke entity should be loaded from the relative URL: "/UnternehmenService/apotheke/{id}" (HTTP-GET) If a new Apotheke entity has been created, the new entity should be posted to the relative URL: "/UnternehmenService/apotheke" (HTTP-POST) If an existing Apotheke entity has been updated, the modified entity should be sent to the relative URL: "/UnternehmenService/apotheke/{id}" (HTTP-PUT) If an existing Apotheke entity has to be deleted, the following relative URL should be called: "/UnternehmenService/apotheke/{id}" (HTTP-DELETE) 2. The PraxisartView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING - name: Name type: STRING An existing Praxisart entity should be loaded from the relative URL: "/UnternehmenService/praxisart/{id}" (HTTP-GET) If a new Praxisart entity has been created, the new entity should be posted to the relative URL: "/UnternehmenService/praxisart" (HTTP-POST) If an existing Praxisart entity has been updated, the modified entity should be sent to the relative URL: "/UnternehmenService/praxisart/{id}" (HTTP-PUT) If an existing Praxisart entity has to be deleted, the following relative URL should be called: "/UnternehmenService/praxisart/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Tierarztpraxis columns: - column: Enddatum - column: Strasse - column: Praxisart - column: Ort - column: Staatlich - column: Mobil - column: Land - column: Name - column: Notizen - column: Verwaltungsregion - column: Kammer - column: HatHausapotheke - column: Startdatum - column: Praxisform - column: Postleitzahl - column: Klinik The table should have the title "Tierarztpraxiss" und the data must be loaded from the server with the following relative URL: "/TierarztpraxisService/tierarztpraxis/praxisart/{id}" 3. The PraxisinhaberView must contain the following fields: - name: Anteil type: DOUBLE - name: Enddatum type: DATE - name: Leitend type: BOOL - name: Startdatum type: DATE - name: Tierarzt type: Tierarzt - name: Tierarztpraxis type: Tierarztpraxis - name: Unternehmen type: Unternehmen The data source for the [Tierarzt] select control should be loaded from the relative URL: "/TierarztpraxisService/tierarzt" (HTTP-GET) The data source for the [Tierarztpraxis] select control should be loaded from the relative URL: "/TierarztpraxisService/tierarztpraxis" (HTTP-GET) The data source for the [Unternehmen] select control should be loaded from the relative URL: "/UnternehmenService/unternehmen" (HTTP-GET) An existing Praxisinhaber entity should be loaded from the relative URL: "/UnternehmenService/praxisinhaber/{id}" (HTTP-GET) If a new Praxisinhaber entity has been created, the new entity should be posted to the relative URL: "/UnternehmenService/praxisinhaber" (HTTP-POST) If an existing Praxisinhaber entity has been updated, the modified entity should be sent to the relative URL: "/UnternehmenService/praxisinhaber/{id}" (HTTP-PUT) If an existing Praxisinhaber entity has to be deleted, the following relative URL should be called: "/UnternehmenService/praxisinhaber/{id}" (HTTP-DELETE) 4. The UnternehmenView must contain the following fields: - name: Land type: STRING - name: Name type: STRING - name: Notizen type: STRING - name: Ort type: STRING - name: Postleitzahl type: STRING - name: Registernummer type: STRING - name: Strasse type: STRING - name: Typ type: STRING - name: Webseite type: STRING An existing Unternehmen entity should be loaded from the relative URL: "/UnternehmenService/unternehmen/{id}" (HTTP-GET) If a new Unternehmen entity has been created, the new entity should be posted to the relative URL: "/UnternehmenService/unternehmen" (HTTP-POST) If an existing Unternehmen entity has been updated, the modified entity should be sent to the relative URL: "/UnternehmenService/unternehmen/{id}" (HTTP-PUT) If an existing Unternehmen entity has to be deleted, the following relative URL should be called: "/UnternehmenService/unternehmen/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Praxisinhaber columns: - column: Enddatum - column: Startdatum - column: Leitend - column: Tierarztpraxis - column: Anteil - column: Unternehmen - column: Tierarzt The table should have the title "Praxisinhabers" und the data must be loaded from the server with the following relative URL: "/UnternehmenService/praxisinhaber/unternehmen/{id}" 5. The VerwaltungsregionView must contain the following fields: - name: Bundesland type: STRING - name: Email type: STRING - name: Land type: STRING - name: Name type: STRING - name: Ort type: STRING - name: Postleitzahl type: STRING - name: Strasse type: STRING - name: Telefon type: STRING - name: Typ type: STRING An existing Verwaltungsregion entity should be loaded from the relative URL: "/UnternehmenService/verwaltungsregion/{id}" (HTTP-GET) If a new Verwaltungsregion entity has been created, the new entity should be posted to the relative URL: "/UnternehmenService/verwaltungsregion" (HTTP-POST) If an existing Verwaltungsregion entity has been updated, the modified entity should be sent to the relative URL: "/UnternehmenService/verwaltungsregion/{id}" (HTTP-PUT) If an existing Verwaltungsregion entity has to be deleted, the following relative URL should be called: "/UnternehmenService/verwaltungsregion/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Tierarztpraxis columns: - column: Enddatum - column: Strasse - column: Praxisart - column: Ort - column: Staatlich - column: Mobil - column: Land - column: Name - column: Notizen - column: Verwaltungsregion - column: Kammer - column: HatHausapotheke - column: Startdatum - column: Praxisform - column: Postleitzahl - column: Klinik The table should have the title "Tierarztpraxiss" und the data must be loaded from the server with the following relative URL: "/TierarztpraxisService/tierarztpraxis/verwaltungsregion/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum