Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
MitarbeiterRolleApp
Please create a React-JS application for the MitarbeiterRolleModule. The application has to offer the following views for the user interface: 1. MitarbeiterView 2. MitarbeiterEinsatzView 3. MitarbeiterRolleView 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 MitarbeiterView must contain the following fields: - name: Geburtsdatum type: DATE - name: HatTierpflegerAusbildung type: BOOL - name: IstEhrenamtlich type: BOOL - name: Qualifikation type: STRING - name: Vollname type: STRING 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 MitarbeiterEinsatz columns: - column: EinsatzBis - column: Tierheim - column: MitarbeiterRolle - column: Mitarbeiter - column: IstVerantwortlichePerson - column: EinsatzVon The table should have the title "MitarbeiterEinsatzs" und the data must be loaded from the server with the following relative URL: "/MitarbeiterRolleService/mitarbeitereinsatz/mitarbeiter/{id}" 2. The MitarbeiterEinsatzView must contain the following fields: - name: EinsatzBis type: DATE - name: EinsatzVon type: DATE - name: IstVerantwortlichePerson type: BOOL - name: Mitarbeiter type: Mitarbeiter - name: MitarbeiterRolle type: MitarbeiterRolle - name: Tierheim type: Tierheim The data source for the [MitarbeiterRolle] select control should be loaded from the relative URL: "/MitarbeiterRolleService/mitarbeiterrolle" (HTTP-GET) The data source for the [Tierheim] select control should be loaded from the relative URL: "/TierheimService/tierheim" (HTTP-GET) The data source for the [Mitarbeiter] select control should be loaded from the relative URL: "/MitarbeiterRolleService/mitarbeiter" (HTTP-GET) An existing MitarbeiterEinsatz entity should be loaded from the relative URL: "/MitarbeiterRolleService/mitarbeitereinsatz/{id}" (HTTP-GET) If a new MitarbeiterEinsatz entity has been created, the new entity should be posted to the relative URL: "/MitarbeiterRolleService/mitarbeitereinsatz" (HTTP-POST) If an existing MitarbeiterEinsatz entity has been updated, the modified entity should be sent to the relative URL: "/MitarbeiterRolleService/mitarbeitereinsatz/{id}" (HTTP-PUT) If an existing MitarbeiterEinsatz entity has to be deleted, the following relative URL should be called: "/MitarbeiterRolleService/mitarbeitereinsatz/{id}" (HTTP-DELETE) 3. The MitarbeiterRolleView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING An existing MitarbeiterRolle entity should be loaded from the relative URL: "/MitarbeiterRolleService/mitarbeiterrolle/{id}" (HTTP-GET) If a new MitarbeiterRolle entity has been created, the new entity should be posted to the relative URL: "/MitarbeiterRolleService/mitarbeiterrolle" (HTTP-POST) If an existing MitarbeiterRolle entity has been updated, the modified entity should be sent to the relative URL: "/MitarbeiterRolleService/mitarbeiterrolle/{id}" (HTTP-PUT) If an existing MitarbeiterRolle entity has to be deleted, the following relative URL should be called: "/MitarbeiterRolleService/mitarbeiterrolle/{id}" (HTTP-DELETE) Add a HTML table to the view with the following MitarbeiterEinsatz columns: - column: EinsatzBis - column: Tierheim - column: MitarbeiterRolle - column: Mitarbeiter - column: IstVerantwortlichePerson - column: EinsatzVon The table should have the title "MitarbeiterEinsatzs" und the data must be loaded from the server with the following relative URL: "/MitarbeiterRolleService/mitarbeitereinsatz/mitarbeiterrolle/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum