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: Beruf type: STRING - name: Einstellungsdatum type: DATE - name: IstArzt type: BOOL - name: IstPflege type: BOOL - name: Krankenhaus type: Krankenhaus - name: MitarbeiterRolle type: MitarbeiterRolle - name: Nachname type: STRING - name: Vorname type: STRING The data source for the [Krankenhaus] select control should be loaded from the relative URL: "/KrankenhausService/krankenhaus" (HTTP-GET) The data source for the [MitarbeiterRolle] select control should be loaded from the relative URL: "/MitarbeiterRolleService/mitarbeiterrolle" (HTTP-GET) An existing Mitarbeiter entity should be loaded from the relative URL: "/MitarbeiterRolleService/mitarbeiter/{id}" (HTTP-GET) If a new Mitarbeiter entity has been created, the new entity should be posted to the relative URL: "/MitarbeiterRolleService/mitarbeiter" (HTTP-POST) If an existing Mitarbeiter entity has been updated, the modified entity should be sent to the relative URL: "/MitarbeiterRolleService/mitarbeiter/{id}" (HTTP-PUT) If an existing Mitarbeiter entity has to be deleted, the following relative URL should be called: "/MitarbeiterRolleService/mitarbeiter/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Dienst columns: - column: Station - column: VonDatumZeit - column: DienstArt - column: BisDatumZeit - column: Mitarbeiter The table should have the title "Diensts" und the data must be loaded from the server with the following relative URL: "/MitarbeiterRolleService/dienst/mitarbeiter/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum