Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
EhrenamtlicherApp
Please create a React-JS application for the EhrenamtlicherModule. The application has to offer the following views for the user interface: 1. EhrenamtlicherView 2. EinsatzView 3. RouteView 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 EhrenamtlicherView must contain the following fields: - name: AktivFlag type: BOOL - name: Eintrittsdatum type: DATE - name: Email type: STRING - name: Geburtsdatum type: DATE - name: LokaleTafel type: LokaleTafel - name: Nachname type: STRING - name: Telefon type: STRING - name: Vorname type: STRING The data source for the [LokaleTafel] select control should be loaded from the relative URL: "/LokaleTafelService/lokaletafel" (HTTP-GET) An existing Ehrenamtlicher entity should be loaded from the relative URL: "/EhrenamtlicherService/ehrenamtlicher/{id}" (HTTP-GET) If a new Ehrenamtlicher entity has been created, the new entity should be posted to the relative URL: "/EhrenamtlicherService/ehrenamtlicher" (HTTP-POST) If an existing Ehrenamtlicher entity has been updated, the modified entity should be sent to the relative URL: "/EhrenamtlicherService/ehrenamtlicher/{id}" (HTTP-PUT) If an existing Ehrenamtlicher entity has to be deleted, the following relative URL should be called: "/EhrenamtlicherService/ehrenamtlicher/{id}" (HTTP-DELETE) Add a HTML table to the view with the following SchulungsTeilnahme columns: - column: LebensmittelsicherheitsSchulung - column: ZertifikatNummer - column: Mitarbeiter - column: Ehrenamtlicher - column: BestandenFlag The table should have the title "SchulungsTeilnahmes" und the data must be loaded from the server with the following relative URL: "/MitarbeiterService/schulungsteilnahme/ehrenamtlicher/{id}" Add a HTML table to the view with the following Einsatz columns: - column: BisDatum - column: Route - column: EinsatzTyp - column: Lager - column: VonDatum - column: Ausgabestelle - column: Ehrenamtlicher The table should have the title "Einsatzs" und the data must be loaded from the server with the following relative URL: "/EhrenamtlicherService/einsatz/ehrenamtlicher/{id}" Add a HTML table to the view with the following Berechtigungspruefung columns: - column: Mitarbeiter - column: Pruefdatum - column: Haushalt - column: Notizen - column: EinkommenGeprueftFlag - column: ErgebnisStatus - column: GueltigBis - column: Ehrenamtlicher The table should have the title "Berechtigungspruefungs" und the data must be loaded from the server with the following relative URL: "/MitarbeiterService/berechtigungspruefung/ehrenamtlicher/{id}" 2. The EinsatzView must contain the following fields: - name: Ausgabestelle type: Ausgabestelle - name: BisDatum type: DATE - name: Ehrenamtlicher type: Ehrenamtlicher - name: EinsatzTyp type: STRING - name: Lager type: Lager - name: Route type: Route - name: VonDatum type: DATE The data source for the [Lager] select control should be loaded from the relative URL: "/LagerService/lager" (HTTP-GET) The data source for the [Ehrenamtlicher] select control should be loaded from the relative URL: "/EhrenamtlicherService/ehrenamtlicher" (HTTP-GET) The data source for the [Ausgabestelle] select control should be loaded from the relative URL: "/StandortService/ausgabestelle" (HTTP-GET) The data source for the [Route] select control should be loaded from the relative URL: "/EhrenamtlicherService/route" (HTTP-GET) An existing Einsatz entity should be loaded from the relative URL: "/EhrenamtlicherService/einsatz/{id}" (HTTP-GET) If a new Einsatz entity has been created, the new entity should be posted to the relative URL: "/EhrenamtlicherService/einsatz" (HTTP-POST) If an existing Einsatz entity has been updated, the modified entity should be sent to the relative URL: "/EhrenamtlicherService/einsatz/{id}" (HTTP-PUT) If an existing Einsatz entity has to be deleted, the following relative URL should be called: "/EhrenamtlicherService/einsatz/{id}" (HTTP-DELETE) 3. The RouteView must contain the following fields: - name: Beschreibung type: STRING - name: Fahrzeug type: Fahrzeug - name: LokaleTafel type: LokaleTafel - name: Name type: STRING - name: RegelWochentag type: LONG The data source for the [Fahrzeug] select control should be loaded from the relative URL: "/LokaleTafelService/fahrzeug" (HTTP-GET) The data source for the [LokaleTafel] select control should be loaded from the relative URL: "/LokaleTafelService/lokaletafel" (HTTP-GET) An existing Route entity should be loaded from the relative URL: "/EhrenamtlicherService/route/{id}" (HTTP-GET) If a new Route entity has been created, the new entity should be posted to the relative URL: "/EhrenamtlicherService/route" (HTTP-POST) If an existing Route entity has been updated, the modified entity should be sent to the relative URL: "/EhrenamtlicherService/route/{id}" (HTTP-PUT) If an existing Route entity has to be deleted, the following relative URL should be called: "/EhrenamtlicherService/route/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Abholstopp columns: - column: Lager - column: StoppTyp - column: Route - column: Reihenfolge - column: SpenderFiliale The table should have the title "Abholstopps" und the data must be loaded from the server with the following relative URL: "/LagerService/abholstopp/route/{id}" Add a HTML table to the view with the following Einsatz columns: - column: BisDatum - column: Route - column: EinsatzTyp - column: Lager - column: VonDatum - column: Ausgabestelle - column: Ehrenamtlicher The table should have the title "Einsatzs" und the data must be loaded from the server with the following relative URL: "/EhrenamtlicherService/einsatz/route/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum