Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
WasserNetzApp
Please create a React-JS application for the WasserNetzModule. The application has to offer the following views for the user interface: 1. BrandEreignisView 2. HydrantView 3. WasserNetzView 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 BrandEreignisView must contain the following fields: - name: Beschreibung type: STRING - name: EndeDatumZeit type: DATE - name: HauptHydrant type: Hydrant - name: Schwere type: STRING - name: Stadt type: Stadt - name: StartDatumZeit type: DATE The data source for the [HauptHydrant] select control should be loaded from the relative URL: "/WasserNetzService/hydrant" (HTTP-GET) The data source for the [Stadt] select control should be loaded from the relative URL: "/StadtService/stadt" (HTTP-GET) An existing BrandEreignis entity should be loaded from the relative URL: "/WasserNetzService/brandereignis/{id}" (HTTP-GET) If a new BrandEreignis entity has been created, the new entity should be posted to the relative URL: "/WasserNetzService/brandereignis" (HTTP-POST) If an existing BrandEreignis entity has been updated, the modified entity should be sent to the relative URL: "/WasserNetzService/brandereignis/{id}" (HTTP-PUT) If an existing BrandEreignis entity has to be deleted, the following relative URL should be called: "/WasserNetzService/brandereignis/{id}" (HTTP-DELETE) Add a HTML table to the view with the following BrandEreignisHydrant columns: - column: BrandEreignis - column: Rolle - column: Hydrant The table should have the title "BrandEreignisHydrants" und the data must be loaded from the server with the following relative URL: "/LandService/brandereignishydrant/brandereignis/{id}" 2. The HydrantView must contain the following fields: - name: HydrantStandort type: HydrantStandort - name: HydrantType type: HydrantType - name: InstallationsDatum type: DATE - name: IstBetriebsbereit type: BOOL - name: IstNass type: BOOL - name: IstTrocken type: BOOL - name: LetztePruefung type: DATE - name: NennweiteMm type: LONG - name: Notizen type: STRING - name: WasserNetz type: WasserNetz The data source for the [HydrantType] select control should be loaded from the relative URL: "/HydrantTypeService/hydranttype" (HTTP-GET) The data source for the [HydrantStandort] select control should be loaded from the relative URL: "/HydrantStandortService/hydrantstandort" (HTTP-GET) The data source for the [WasserNetz] select control should be loaded from the relative URL: "/WasserNetzService/wassernetz" (HTTP-GET) An existing Hydrant entity should be loaded from the relative URL: "/WasserNetzService/hydrant/{id}" (HTTP-GET) If a new Hydrant entity has been created, the new entity should be posted to the relative URL: "/WasserNetzService/hydrant" (HTTP-POST) If an existing Hydrant entity has been updated, the modified entity should be sent to the relative URL: "/WasserNetzService/hydrant/{id}" (HTTP-PUT) If an existing Hydrant entity has to be deleted, the following relative URL should be called: "/WasserNetzService/hydrant/{id}" (HTTP-DELETE) Add a HTML table to the view with the following HydrantHinweisschild columns: - column: OffsetYMeter - column: SchildType - column: OffsetXMeter - column: Hydrant - column: Text - column: MontageOrt The table should have the title "HydrantHinweisschilds" und the data must be loaded from the server with the following relative URL: "/HydrantPlanService/hydranthinweisschild/hydrant/{id}" Add a HTML table to the view with the following HydrantPlanEintrag columns: - column: UnterirdischerBehaelter - column: OffeneWasserQuelle - column: HydrantPlan - column: Notizen - column: Hydrant The table should have the title "HydrantPlanEintrags" und the data must be loaded from the server with the following relative URL: "/HydrantPlanService/hydrantplaneintrag/hydrant/{id}" Add a HTML table to the view with the following StandrohrEinsatz columns: - column: Hydrant - column: Ereignis - column: WasserMengeM3 - column: Standrohr The table should have the title "StandrohrEinsatzs" und the data must be loaded from the server with the following relative URL: "/EreignisTypeService/standrohreinsatz/hydrant/{id}" Add a HTML table to the view with the following BrandEreignisHydrant columns: - column: BrandEreignis - column: Rolle - column: Hydrant The table should have the title "BrandEreignisHydrants" und the data must be loaded from the server with the following relative URL: "/LandService/brandereignishydrant/hydrant/{id}" Add a HTML table to the view with the following HydrantNutzung columns: - column: Organisation - column: GeschaetztesVolumenM3 - column: NutzungsArt - column: Hydrant - column: Beschreibung - column: NutzungsDatum The table should have the title "HydrantNutzungs" und the data must be loaded from the server with the following relative URL: "/StandrohrTypeService/hydrantnutzung/hydrant/{id}" Add a HTML table to the view with the following BrandEreignis columns: - column: StartDatumZeit - column: Schwere - column: HauptHydrant - column: Beschreibung - column: EndeDatumZeit - column: Stadt The table should have the title "BrandEreigniss" und the data must be loaded from the server with the following relative URL: "/WasserNetzService/brandereignis/haupthydrant/{id}" 3. The WasserNetzView must contain the following fields: - name: Beschreibung type: STRING - name: BetreiberOrganisation type: Organisation - name: FrostTiefeCm type: LONG - name: Name type: STRING The data source for the [BetreiberOrganisation] select control should be loaded from the relative URL: "/StadtService/organisation" (HTTP-GET) An existing WasserNetz entity should be loaded from the relative URL: "/WasserNetzService/wassernetz/{id}" (HTTP-GET) If a new WasserNetz entity has been created, the new entity should be posted to the relative URL: "/WasserNetzService/wassernetz" (HTTP-POST) If an existing WasserNetz entity has been updated, the modified entity should be sent to the relative URL: "/WasserNetzService/wassernetz/{id}" (HTTP-PUT) If an existing WasserNetz entity has to be deleted, the following relative URL should be called: "/WasserNetzService/wassernetz/{id}" (HTTP-DELETE) Add a HTML table to the view with the following LeitungsAbschnitt columns: - column: Baujahr - column: Material - column: WasserNetz - column: IstInBetrieb - column: LaengeMeter - column: NennweiteMm The table should have the title "LeitungsAbschnitts" und the data must be loaded from the server with the following relative URL: "/StandrohrTypeService/leitungsabschnitt/wassernetz/{id}" Add a HTML table to the view with the following AppHydrantenDatenquelle columns: - column: HatEchtzeitStatus - column: App - column: Beschreibung - column: WasserNetz The table should have the title "AppHydrantenDatenquelles" und the data must be loaded from the server with the following relative URL: "/HydrantTypeService/apphydrantendatenquelle/wassernetz/{id}" Add a HTML table to the view with the following OffeneWasserQuelle columns: - column: KapazitaetM3 - column: HydrantStandort - column: WasserNetz - column: Typ The table should have the title "OffeneWasserQuelles" und the data must be loaded from the server with the following relative URL: "/HydrantStandortService/offenewasserquelle/wassernetz/{id}" Add a HTML table to the view with the following Standrohr columns: - column: MaxDruckBar - column: GewichtKg - column: HatRueckflussverhinderer - column: WasserNetz - column: StandrohrType - column: HatWasserZaehler The table should have the title "Standrohrs" und the data must be loaded from the server with the following relative URL: "/StandrohrTypeService/standrohr/wassernetz/{id}" Add a HTML table to the view with the following HydrantPlan columns: - column: SpeicherOrt - column: Massstab - column: LetzteAktualisierung - column: WasserNetz - column: IstDigital - column: Name The table should have the title "HydrantPlans" und the data must be loaded from the server with the following relative URL: "/HydrantPlanService/hydrantplan/wassernetz/{id}" Add a HTML table to the view with the following UnterirdischerBehaelter columns: - column: KapazitaetM3 - column: WasserNetz - column: IstZugaenglich - column: HydrantStandort The table should have the title "UnterirdischerBehaelters" und the data must be loaded from the server with the following relative URL: "/HydrantStandortService/unterirdischerbehaelter/wassernetz/{id}" Add a HTML table to the view with the following Hydrant columns: - column: HydrantType - column: IstNass - column: WasserNetz - column: IstTrocken - column: Notizen - column: HydrantStandort - column: NennweiteMm - column: InstallationsDatum - column: LetztePruefung - column: IstBetriebsbereit The table should have the title "Hydrants" und the data must be loaded from the server with the following relative URL: "/WasserNetzService/hydrant/wassernetz/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum