Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
MitarbeiterApp
Please create a React-JS application for the MitarbeiterModule. The application has to offer the following views for the user interface: 1. KlientKontaktpersonView 2. MitarbeiterView 3. PersonView 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 KlientKontaktpersonView must contain the following fields: - name: Beziehung type: STRING - name: IstNotfallkontakt type: BOOL - name: Klient type: Klient - name: Person type: Person The data source for the [Klient] select control should be loaded from the relative URL: "/PflegedienstService/klient" (HTTP-GET) The data source for the [Person] select control should be loaded from the relative URL: "/MitarbeiterService/person" (HTTP-GET) An existing KlientKontaktperson entity should be loaded from the relative URL: "/MitarbeiterService/klientkontaktperson/{id}" (HTTP-GET) If a new KlientKontaktperson entity has been created, the new entity should be posted to the relative URL: "/MitarbeiterService/klientkontaktperson" (HTTP-POST) If an existing KlientKontaktperson entity has been updated, the modified entity should be sent to the relative URL: "/MitarbeiterService/klientkontaktperson/{id}" (HTTP-PUT) If an existing KlientKontaktperson entity has to be deleted, the following relative URL should be called: "/MitarbeiterService/klientkontaktperson/{id}" (HTTP-DELETE) 2. The MitarbeiterView must contain the following fields: - name: Austrittsdatum type: DATE - name: Beschaeftigungsart type: STRING - name: Einstellungsdatum type: DATE - name: Hauptstandort type: INT - name: IstAktiv type: BOOL - name: IstLeitung type: BOOL - name: IstPflegedienstleitung type: BOOL - name: Person type: Person - name: Pflegedienst type: Pflegedienst - name: Wochenstunden type: STRING The data source for the [Pflegedienst] select control should be loaded from the relative URL: "/PflegedienstService/pflegedienst" (HTTP-GET) The data source for the [Person] select control should be loaded from the relative URL: "/MitarbeiterService/person" (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 MitarbeiterQualifikation columns: - column: Mitarbeiter - column: GueltigBis - column: ZertifikatReferenz - column: Erwerbsdatum - column: Qualifikation The table should have the title "MitarbeiterQualifikations" und the data must be loaded from the server with the following relative URL: "/QualifikationService/mitarbeiterqualifikation/mitarbeiter/{id}" Add a HTML table to the view with the following EinsatzMitarbeiter columns: - column: TatsächlichStart - column: TatsächlichEnde - column: RolleWaeh - column: Mitarbeiter - column: Einsatz The table should have the title "EinsatzMitarbeiters" und the data must be loaded from the server with the following relative URL: "/RolleService/einsatzmitarbeiter/mitarbeiter/{id}" Add a HTML table to the view with the following RollenZuweisung columns: - column: Mitarbeiter - column: BisDatum - column: VonDatum - column: Rolle - column: PflegedienstStandort The table should have the title "RollenZuweisungs" und the data must be loaded from the server with the following relative URL: "/RolleService/rollenzuweisung/mitarbeiter/{id}" 3. The PersonView must contain the following fields: - name: EMailAdresse type: STRING - name: Geburtsdatum type: DATE - name: Geschlecht type: STRING - name: Nachname type: STRING - name: Telefonnummer type: STRING - name: Vorname type: STRING An existing Person entity should be loaded from the relative URL: "/MitarbeiterService/person/{id}" (HTTP-GET) If a new Person entity has been created, the new entity should be posted to the relative URL: "/MitarbeiterService/person" (HTTP-POST) If an existing Person entity has been updated, the modified entity should be sent to the relative URL: "/MitarbeiterService/person/{id}" (HTTP-PUT) If an existing Person entity has to be deleted, the following relative URL should be called: "/MitarbeiterService/person/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Mitarbeiter columns: - column: Hauptstandort - column: Wochenstunden - column: Einstellungsdatum - column: Pflegedienst - column: Beschaeftigungsart - column: Person - column: IstPflegedienstleitung - column: IstLeitung - column: Austrittsdatum - column: IstAktiv The table should have the title "Mitarbeiters" und the data must be loaded from the server with the following relative URL: "/MitarbeiterService/mitarbeiter/person/{id}" Add a HTML table to the view with the following KlientKontaktperson columns: - column: Person - column: Klient - column: IstNotfallkontakt - column: Beziehung The table should have the title "KlientKontaktpersons" und the data must be loaded from the server with the following relative URL: "/MitarbeiterService/klientkontaktperson/person/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum