Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
GemeindeApp
Please create a React-JS application for the GemeindeModule. The application has to offer the following views for the user interface: 1. BehandlungsArtView 2. GemeindeView 3. GemeindeTierheimVertragView 4. VeterinaeramtView 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 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: "/GemeindeService/behandlungsart/{id}" (HTTP-GET) If a new BehandlungsArt entity has been created, the new entity should be posted to the relative URL: "/GemeindeService/behandlungsart" (HTTP-POST) If an existing BehandlungsArt entity has been updated, the modified entity should be sent to the relative URL: "/GemeindeService/behandlungsart/{id}" (HTTP-PUT) If an existing BehandlungsArt entity has to be deleted, the following relative URL should be called: "/GemeindeService/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: "/TierService/tierbehandlung/behandlungsart/{id}" 2. The GemeindeView must contain the following fields: - name: HatEigenesTierheim type: BOOL - name: Land type: STRING - name: Name type: STRING - name: Region type: STRING An existing Gemeinde entity should be loaded from the relative URL: "/GemeindeService/gemeinde/{id}" (HTTP-GET) If a new Gemeinde entity has been created, the new entity should be posted to the relative URL: "/GemeindeService/gemeinde" (HTTP-POST) If an existing Gemeinde entity has been updated, the modified entity should be sent to the relative URL: "/GemeindeService/gemeinde/{id}" (HTTP-PUT) If an existing Gemeinde entity has to be deleted, the following relative URL should be called: "/GemeindeService/gemeinde/{id}" (HTTP-DELETE) Add a HTML table to the view with the following GemeindeTierheimVertrag columns: - column: Vertragsbeginn - column: Pauschalbetrag - column: Tierheim - column: Vertragsende - column: NurFundtiere - column: Pauschalzahlung - column: Gemeinde - column: DecktTierarztkosten The table should have the title "GemeindeTierheimVertrags" und the data must be loaded from the server with the following relative URL: "/GemeindeService/gemeindetierheimvertrag/gemeinde/{id}" Add a HTML table to the view with the following Tieraufnahme columns: - column: Beschreibung - column: TierherkunftsArt - column: Gemeinde - column: AufnahmeDatum - column: Tier - column: Finder - column: Behoerde The table should have the title "Tieraufnahmes" und the data must be loaded from the server with the following relative URL: "/TierService/tieraufnahme/gemeinde/{id}" Add a HTML table to the view with the following Fundmeldung columns: - column: Melder - column: Gemeinde - column: Tier - column: Meldedatum - column: BesitzerBekannt - column: FundortBeschreibung The table should have the title "Fundmeldungs" und the data must be loaded from the server with the following relative URL: "/TierhalterService/fundmeldung/gemeinde/{id}" 3. The GemeindeTierheimVertragView must contain the following fields: - name: DecktTierarztkosten type: BOOL - name: Gemeinde type: Gemeinde - name: NurFundtiere type: BOOL - name: Pauschalbetrag type: STRING - name: Pauschalzahlung type: BOOL - name: Tierheim type: Tierheim - name: Vertragsbeginn type: DATE - name: Vertragsende type: DATE The data source for the [Tierheim] select control should be loaded from the relative URL: "/TierheimService/tierheim" (HTTP-GET) The data source for the [Gemeinde] select control should be loaded from the relative URL: "/GemeindeService/gemeinde" (HTTP-GET) An existing GemeindeTierheimVertrag entity should be loaded from the relative URL: "/GemeindeService/gemeindetierheimvertrag/{id}" (HTTP-GET) If a new GemeindeTierheimVertrag entity has been created, the new entity should be posted to the relative URL: "/GemeindeService/gemeindetierheimvertrag" (HTTP-POST) If an existing GemeindeTierheimVertrag entity has been updated, the modified entity should be sent to the relative URL: "/GemeindeService/gemeindetierheimvertrag/{id}" (HTTP-PUT) If an existing GemeindeTierheimVertrag entity has to be deleted, the following relative URL should be called: "/GemeindeService/gemeindetierheimvertrag/{id}" (HTTP-DELETE) 4. The VeterinaeramtView must contain the following fields: - name: HatKontrollmandat type: BOOL - name: ZustaendigkeitRegion type: STRING An existing Veterinaeramt entity should be loaded from the relative URL: "/GemeindeService/veterinaeramt/{id}" (HTTP-GET) If a new Veterinaeramt entity has been created, the new entity should be posted to the relative URL: "/GemeindeService/veterinaeramt" (HTTP-POST) If an existing Veterinaeramt entity has been updated, the modified entity should be sent to the relative URL: "/GemeindeService/veterinaeramt/{id}" (HTTP-PUT) If an existing Veterinaeramt entity has to be deleted, the following relative URL should be called: "/GemeindeService/veterinaeramt/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum