Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
TierarztpraxisApp
Please create a React-JS application for the TierarztpraxisModule. The application has to offer the following views for the user interface: 1. AusstattungView 2. MobilerDienstView 3. PersonalrolleView 4. PraxispersonalView 5. TierarztView 6. TierarztpraxisView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 6 views are defined below. 1. The AusstattungView must contain the following fields: - name: Aktiv type: BOOL - name: Anschaffungsdatum type: DATE - name: Beschreibung type: STRING - name: Kategorie type: STRING - name: Menge type: INT - name: Name type: STRING - name: Tierarztpraxis type: Tierarztpraxis The data source for the [Tierarztpraxis] select control should be loaded from the relative URL: "/TierarztpraxisService/tierarztpraxis" (HTTP-GET) An existing Ausstattung entity should be loaded from the relative URL: "/TierarztpraxisService/ausstattung/{id}" (HTTP-GET) If a new Ausstattung entity has been created, the new entity should be posted to the relative URL: "/TierarztpraxisService/ausstattung" (HTTP-POST) If an existing Ausstattung entity has been updated, the modified entity should be sent to the relative URL: "/TierarztpraxisService/ausstattung/{id}" (HTTP-PUT) If an existing Ausstattung entity has to be deleted, the following relative URL should be called: "/TierarztpraxisService/ausstattung/{id}" (HTTP-DELETE) 2. The MobilerDienstView must contain the following fields: - name: Enddatum type: DATE - name: Fahrzeugbeschreibung type: STRING - name: Gebietsbeschreibung type: STRING - name: Hauptmodus type: BOOL - name: Startdatum type: DATE - name: Tierarztpraxis type: Tierarztpraxis The data source for the [Tierarztpraxis] select control should be loaded from the relative URL: "/TierarztpraxisService/tierarztpraxis" (HTTP-GET) An existing MobilerDienst entity should be loaded from the relative URL: "/TierarztpraxisService/mobilerdienst/{id}" (HTTP-GET) If a new MobilerDienst entity has been created, the new entity should be posted to the relative URL: "/TierarztpraxisService/mobilerdienst" (HTTP-POST) If an existing MobilerDienst entity has been updated, the modified entity should be sent to the relative URL: "/TierarztpraxisService/mobilerdienst/{id}" (HTTP-PUT) If an existing MobilerDienst entity has to be deleted, the following relative URL should be called: "/TierarztpraxisService/mobilerdienst/{id}" (HTTP-DELETE) 3. The PersonalrolleView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING - name: IstMedizinisch type: BOOL - name: Name type: STRING An existing Personalrolle entity should be loaded from the relative URL: "/TierarztpraxisService/personalrolle/{id}" (HTTP-GET) If a new Personalrolle entity has been created, the new entity should be posted to the relative URL: "/TierarztpraxisService/personalrolle" (HTTP-POST) If an existing Personalrolle entity has been updated, the modified entity should be sent to the relative URL: "/TierarztpraxisService/personalrolle/{id}" (HTTP-PUT) If an existing Personalrolle entity has to be deleted, the following relative URL should be called: "/TierarztpraxisService/personalrolle/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Praxispersonal columns: - column: Tierarzt - column: Tierarztpraxis - column: Ende - column: Vollzeit - column: Personalrolle - column: Beginn - column: Notizen - column: Personenname The table should have the title "Praxispersonals" und the data must be loaded from the server with the following relative URL: "/TierarztpraxisService/praxispersonal/personalrolle/{id}" 4. The PraxispersonalView must contain the following fields: - name: Beginn type: DATE - name: Ende type: DATE - name: Notizen type: STRING - name: Personalrolle type: Personalrolle - name: Personenname type: STRING - name: Tierarzt type: Tierarzt - name: Tierarztpraxis type: Tierarztpraxis - name: Vollzeit type: BOOL 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 [Personalrolle] select control should be loaded from the relative URL: "/TierarztpraxisService/personalrolle" (HTTP-GET) An existing Praxispersonal entity should be loaded from the relative URL: "/TierarztpraxisService/praxispersonal/{id}" (HTTP-GET) If a new Praxispersonal entity has been created, the new entity should be posted to the relative URL: "/TierarztpraxisService/praxispersonal" (HTTP-POST) If an existing Praxispersonal entity has been updated, the modified entity should be sent to the relative URL: "/TierarztpraxisService/praxispersonal/{id}" (HTTP-PUT) If an existing Praxispersonal entity has to be deleted, the following relative URL should be called: "/TierarztpraxisService/praxispersonal/{id}" (HTTP-DELETE) 5. The TierarztView must contain the following fields: - name: Aktiv type: BOOL - name: Geburtsdatum type: DATE - name: Genehmigung type: Genehmigung - name: Geschlecht type: STRING - name: Kammer type: Kammer - name: Nachname type: STRING - name: Notizen type: STRING - name: Vorname type: STRING The data source for the [Genehmigung] select control should be loaded from the relative URL: "/KammerService/genehmigung" (HTTP-GET) The data source for the [Kammer] select control should be loaded from the relative URL: "/KammerService/kammer" (HTTP-GET) An existing Tierarzt entity should be loaded from the relative URL: "/TierarztpraxisService/tierarzt/{id}" (HTTP-GET) If a new Tierarzt entity has been created, the new entity should be posted to the relative URL: "/TierarztpraxisService/tierarzt" (HTTP-POST) If an existing Tierarzt entity has been updated, the modified entity should be sent to the relative URL: "/TierarztpraxisService/tierarzt/{id}" (HTTP-PUT) If an existing Tierarzt entity has to be deleted, the following relative URL should be called: "/TierarztpraxisService/tierarzt/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Praxispersonal columns: - column: Tierarzt - column: Tierarztpraxis - column: Ende - column: Vollzeit - column: Personalrolle - column: Beginn - column: Notizen - column: Personenname The table should have the title "Praxispersonals" und the data must be loaded from the server with the following relative URL: "/TierarztpraxisService/praxispersonal/tierarzt/{id}" 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/tierarzt/{id}" Add a HTML table to the view with the following Apotheke columns: - column: Lizenznummer - column: Notizen - column: Betaeubungsmittel - column: Tierarztpraxis - column: VerantwortlicherTierarzt - column: Lagerbeschreibung The table should have the title "Apothekes" und the data must be loaded from the server with the following relative URL: "/UnternehmenService/apotheke/verantwortlichertierarzt/{id}" 6. The TierarztpraxisView must contain the following fields: - name: Enddatum type: DATE - name: HatHausapotheke type: BOOL - name: Kammer type: Kammer - name: Klinik type: BOOL - name: Land type: STRING - name: Mobil type: BOOL - name: Name type: STRING - name: Notizen type: STRING - name: Ort type: STRING - name: Postleitzahl type: STRING - name: Praxisart type: Praxisart - name: Praxisform type: Praxisform - name: Staatlich type: BOOL - name: Startdatum type: DATE - name: Strasse type: STRING - name: Verwaltungsregion type: Verwaltungsregion The data source for the [Kammer] select control should be loaded from the relative URL: "/KammerService/kammer" (HTTP-GET) The data source for the [Verwaltungsregion] select control should be loaded from the relative URL: "/UnternehmenService/verwaltungsregion" (HTTP-GET) The data source for the [Praxisart] select control should be loaded from the relative URL: "/UnternehmenService/praxisart" (HTTP-GET) The data source for the [Praxisform] select control should be loaded from the relative URL: "/KammerService/praxisform" (HTTP-GET) An existing Tierarztpraxis entity should be loaded from the relative URL: "/TierarztpraxisService/tierarztpraxis/{id}" (HTTP-GET) If a new Tierarztpraxis entity has been created, the new entity should be posted to the relative URL: "/TierarztpraxisService/tierarztpraxis" (HTTP-POST) If an existing Tierarztpraxis entity has been updated, the modified entity should be sent to the relative URL: "/TierarztpraxisService/tierarztpraxis/{id}" (HTTP-PUT) If an existing Tierarztpraxis entity has to be deleted, the following relative URL should be called: "/TierarztpraxisService/tierarztpraxis/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Praxispersonal columns: - column: Tierarzt - column: Tierarztpraxis - column: Ende - column: Vollzeit - column: Personalrolle - column: Beginn - column: Notizen - column: Personenname The table should have the title "Praxispersonals" und the data must be loaded from the server with the following relative URL: "/TierarztpraxisService/praxispersonal/tierarztpraxis/{id}" 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/tierarztpraxis/{id}" Add a HTML table to the view with the following Apotheke columns: - column: Lizenznummer - column: Notizen - column: Betaeubungsmittel - column: Tierarztpraxis - column: VerantwortlicherTierarzt - column: Lagerbeschreibung The table should have the title "Apothekes" und the data must be loaded from the server with the following relative URL: "/UnternehmenService/apotheke/tierarztpraxis/{id}" Add a HTML table to the view with the following MobilerDienst columns: - column: Hauptmodus - column: Tierarztpraxis - column: Enddatum - column: Startdatum - column: Fahrzeugbeschreibung - column: Gebietsbeschreibung The table should have the title "MobilerDiensts" und the data must be loaded from the server with the following relative URL: "/TierarztpraxisService/mobilerdienst/tierarztpraxis/{id}" Add a HTML table to the view with the following Ausstattung columns: - column: Tierarztpraxis - column: Name - column: Menge - column: Aktiv - column: Kategorie - column: Beschreibung - column: Anschaffungsdatum The table should have the title "Ausstattungs" und the data must be loaded from the server with the following relative URL: "/TierarztpraxisService/ausstattung/tierarztpraxis/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum