Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
MitarbeiterView
Please create a React-JS view called "MitarbeiterView" for the fields of the Mitarbeiter entity. The MitarbeiterView must contain the following fields: - name: Baeckerei type: Baeckerei - name: Beruf type: Beruf - name: Einstellungsdatum type: DATE - name: Geburtsdatum type: DATE - name: IstAzubi type: BOOL - name: Nachname type: STRING - name: Vorname type: STRING The data source for the [Baeckerei] select control should be loaded from the relative URL: "/BaeckereiService/baeckerei" (HTTP-GET) The data source for the [Beruf] select control should be loaded from the relative URL: "/AdresseService/beruf" (HTTP-GET) An existing Mitarbeiter entity should be loaded from the relative URL: "/MitarbeiterService/mitarbeiter/{id}" (HTTP-GET) If a new Mitarbeiter entity has been created, the new entity should be posted to the relative URL: "/MitarbeiterService/mitarbeiter" (HTTP-POST) If an existing Mitarbeiter entity has been updated, the modified entity should be sent to the relative URL: "/MitarbeiterService/mitarbeiter/{id}" (HTTP-PUT) If an existing Mitarbeiter entity has to be deleted, the following relative URL should be called: "/MitarbeiterService/mitarbeiter/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Arbeitsunfall columns: - column: Gefaehrdungstyp - column: Verletzungsschwere - column: BaeckereiFiliale - column: UnfallDatum - column: Mitarbeiter - column: Beschreibung The table should have the title "Arbeitsunfalls" und the data must be loaded from the server with the following relative URL: "/SchutzmassnahmeService/arbeitsunfall/mitarbeiter/{id}" Add a HTML table to the view with the following Beschaeftigung columns: - column: Mitarbeiter - column: Wochenstunden - column: Beruf - column: Startdatum - column: BaeckereiFiliale - column: Enddatum The table should have the title "Beschaeftigungs" und the data must be loaded from the server with the following relative URL: "/MitarbeiterService/beschaeftigung/mitarbeiter/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum