Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
PersonView
Please create a React-JS view called "PersonView" for the fields of the Person entity. 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