Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
VeterinaerPraxisApp
Please create a React-JS application for the VeterinaerPraxisModule. The application has to offer the following views for the user interface: 1. AuslandsTierheimView 2. BehandlungsArtView 3. TierBehandlungView 4. VeterinaerPraxisView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 4 views are defined below. 1. The AuslandsTierheimView must contain the following fields: - name: IstKommunal type: BOOL - name: IstPrivat type: BOOL - name: IstToetungsstation type: BOOL - name: Land type: STRING - name: Name type: STRING - name: Region type: STRING - name: Typ type: STRING An existing AuslandsTierheim entity should be loaded from the relative URL: "/VeterinaerPraxisService/auslandstierheim/{id}" (HTTP-GET) If a new AuslandsTierheim entity has been created, the new entity should be posted to the relative URL: "/VeterinaerPraxisService/auslandstierheim" (HTTP-POST) If an existing AuslandsTierheim entity has been updated, the modified entity should be sent to the relative URL: "/VeterinaerPraxisService/auslandstierheim/{id}" (HTTP-PUT) If an existing AuslandsTierheim entity has to be deleted, the following relative URL should be called: "/VeterinaerPraxisService/auslandstierheim/{id}" (HTTP-DELETE) Add a HTML table to the view with the following InternationalerTiertransfer columns: - column: AuslandsTierschutzOrganisation - column: Tier - column: AuslandsTierheim - column: TransferDatum - column: Tierheim - column: GegenEntgelt - column: HatErforderlicheGenehmigung The table should have the title "InternationalerTiertransfers" und the data must be loaded from the server with the following relative URL: "/TierService/internationalertiertransfer/auslandstierheim/{id}" 2. The BehandlungsArtView must contain the following fields: - name: IstProphylaxe type: BOOL - name: Name type: STRING - name: NurNotfall type: BOOL An existing BehandlungsArt entity should be loaded from the relative URL: "/VeterinaerPraxisService/behandlungsart/{id}" (HTTP-GET) If a new BehandlungsArt entity has been created, the new entity should be posted to the relative URL: "/VeterinaerPraxisService/behandlungsart" (HTTP-POST) If an existing BehandlungsArt entity has been updated, the modified entity should be sent to the relative URL: "/VeterinaerPraxisService/behandlungsart/{id}" (HTTP-PUT) If an existing BehandlungsArt entity has to be deleted, the following relative URL should be called: "/VeterinaerPraxisService/behandlungsart/{id}" (HTTP-DELETE) Add a HTML table to the view with the following TierBehandlung columns: - column: VeterinaerPraxis - column: Datum - column: BehandlungsArt - column: Kosten - column: Tier - column: ErstattbarDurchGemeinde The table should have the title "TierBehandlungs" und the data must be loaded from the server with the following relative URL: "/VeterinaerPraxisService/tierbehandlung/behandlungsart/{id}" 3. The TierBehandlungView must contain the following fields: - name: BehandlungsArt type: BehandlungsArt - name: Datum type: DATE - name: ErstattbarDurchGemeinde type: BOOL - name: Kosten type: STRING - name: Tier type: Tier - name: VeterinaerPraxis type: VeterinaerPraxis The data source for the [Tier] select control should be loaded from the relative URL: "/TierService/tier" (HTTP-GET) The data source for the [VeterinaerPraxis] select control should be loaded from the relative URL: "/VeterinaerPraxisService/veterinaerpraxis" (HTTP-GET) The data source for the [BehandlungsArt] select control should be loaded from the relative URL: "/VeterinaerPraxisService/behandlungsart" (HTTP-GET) An existing TierBehandlung entity should be loaded from the relative URL: "/VeterinaerPraxisService/tierbehandlung/{id}" (HTTP-GET) If a new TierBehandlung entity has been created, the new entity should be posted to the relative URL: "/VeterinaerPraxisService/tierbehandlung" (HTTP-POST) If an existing TierBehandlung entity has been updated, the modified entity should be sent to the relative URL: "/VeterinaerPraxisService/tierbehandlung/{id}" (HTTP-PUT) If an existing TierBehandlung entity has to be deleted, the following relative URL should be called: "/VeterinaerPraxisService/tierbehandlung/{id}" (HTTP-DELETE) 4. The VeterinaerPraxisView must contain the following fields: - name: AdresseOrt type: STRING - name: AdressePlz type: STRING - name: AdresseStrasse type: STRING - name: HatTierheimvertrag type: BOOL - name: Land type: STRING - name: Name type: STRING An existing VeterinaerPraxis entity should be loaded from the relative URL: "/VeterinaerPraxisService/veterinaerpraxis/{id}" (HTTP-GET) If a new VeterinaerPraxis entity has been created, the new entity should be posted to the relative URL: "/VeterinaerPraxisService/veterinaerpraxis" (HTTP-POST) If an existing VeterinaerPraxis entity has been updated, the modified entity should be sent to the relative URL: "/VeterinaerPraxisService/veterinaerpraxis/{id}" (HTTP-PUT) If an existing VeterinaerPraxis entity has to be deleted, the following relative URL should be called: "/VeterinaerPraxisService/veterinaerpraxis/{id}" (HTTP-DELETE) Add a HTML table to the view with the following TierBehandlung columns: - column: VeterinaerPraxis - column: Datum - column: BehandlungsArt - column: Kosten - column: Tier - column: ErstattbarDurchGemeinde The table should have the title "TierBehandlungs" und the data must be loaded from the server with the following relative URL: "/VeterinaerPraxisService/tierbehandlung/veterinaerpraxis/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum