Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
PersonApp
Please create a React-JS application for the PersonModule. The application has to offer the following views for the user interface: 1. InteressenvertretungView 2. LeistungsbewertungView 3. MitarbeitendePersonView 4. 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 4 views are defined below. 1. The InteressenvertretungView must contain the following fields: - name: Amtsbeginn type: DATE - name: Amtsende type: DATE - name: Gremiumstyp type: STRING - name: Werkstatt type: Werkstatt The data source for the [Werkstatt] select control should be loaded from the relative URL: "/WerkstattService/werkstatt" (HTTP-GET) An existing Interessenvertretung entity should be loaded from the relative URL: "/PersonService/interessenvertretung/{id}" (HTTP-GET) If a new Interessenvertretung entity has been created, the new entity should be posted to the relative URL: "/PersonService/interessenvertretung" (HTTP-POST) If an existing Interessenvertretung entity has been updated, the modified entity should be sent to the relative URL: "/PersonService/interessenvertretung/{id}" (HTTP-PUT) If an existing Interessenvertretung entity has to be deleted, the following relative URL should be called: "/PersonService/interessenvertretung/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Interessenvertretungsmitglied columns: - column: TeilnehmendePerson - column: Interessenvertretung - column: Rolle The table should have the title "Interessenvertretungsmitglieds" und the data must be loaded from the server with the following relative URL: "/TeilnehmendePersonService/interessenvertretungsmitglied/interessenvertretung/{id}" 2. The LeistungsbewertungView must contain the following fields: - name: Arbeitsfaehigkeiten type: STRING - name: BewertetDurch type: MitarbeitendePerson - name: Bewertungsdatum type: DATE - name: Leistungsniveau type: STRING - name: TeilnehmendePerson type: TeilnehmendePerson - name: Unterstuetzungsbedarf type: STRING The data source for the [BewertetDurch] select control should be loaded from the relative URL: "/PersonService/mitarbeitendeperson" (HTTP-GET) The data source for the [TeilnehmendePerson] select control should be loaded from the relative URL: "/TeilnehmendePersonService/teilnehmendeperson" (HTTP-GET) An existing Leistungsbewertung entity should be loaded from the relative URL: "/PersonService/leistungsbewertung/{id}" (HTTP-GET) If a new Leistungsbewertung entity has been created, the new entity should be posted to the relative URL: "/PersonService/leistungsbewertung" (HTTP-POST) If an existing Leistungsbewertung entity has been updated, the modified entity should be sent to the relative URL: "/PersonService/leistungsbewertung/{id}" (HTTP-PUT) If an existing Leistungsbewertung entity has to be deleted, the following relative URL should be called: "/PersonService/leistungsbewertung/{id}" (HTTP-DELETE) 3. The MitarbeitendePersonView must contain the following fields: - name: BeschaeftigtBis type: DATE - name: BeschaeftigtVon type: DATE - name: Person type: Person - name: Rolle type: STRING - name: Werkstatt type: Werkstatt The data source for the [Werkstatt] select control should be loaded from the relative URL: "/WerkstattService/werkstatt" (HTTP-GET) The data source for the [Person] select control should be loaded from the relative URL: "/PersonService/person" (HTTP-GET) An existing MitarbeitendePerson entity should be loaded from the relative URL: "/PersonService/mitarbeitendeperson/{id}" (HTTP-GET) If a new MitarbeitendePerson entity has been created, the new entity should be posted to the relative URL: "/PersonService/mitarbeitendeperson" (HTTP-POST) If an existing MitarbeitendePerson entity has been updated, the modified entity should be sent to the relative URL: "/PersonService/mitarbeitendeperson/{id}" (HTTP-PUT) If an existing MitarbeitendePerson entity has to be deleted, the following relative URL should be called: "/PersonService/mitarbeitendeperson/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Leistungsbewertung columns: - column: Arbeitsfaehigkeiten - column: TeilnehmendePerson - column: Unterstuetzungsbedarf - column: BewertetDurch - column: Bewertungsdatum - column: Leistungsniveau The table should have the title "Leistungsbewertungs" und the data must be loaded from the server with the following relative URL: "/PersonService/leistungsbewertung/bewertetdurch/{id}" 4. The PersonView must contain the following fields: - name: Bundesland type: Bundesland - name: Geburtsdatum type: DATE - name: Geschlecht type: STRING - name: Land type: Land - name: Nachname type: STRING - name: Ort type: STRING - name: Postleitzahl type: STRING - name: Strasse type: STRING - name: Vorname type: STRING The data source for the [Bundesland] select control should be loaded from the relative URL: "/LandService/bundesland" (HTTP-GET) The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Person entity should be loaded from the relative URL: "/PersonService/person/{id}" (HTTP-GET) If a new Person entity has been created, the new entity should be posted to the relative URL: "/PersonService/person" (HTTP-POST) If an existing Person entity has been updated, the modified entity should be sent to the relative URL: "/PersonService/person/{id}" (HTTP-PUT) If an existing Person entity has to be deleted, the following relative URL should be called: "/PersonService/person/{id}" (HTTP-DELETE) Add a HTML table to the view with the following TeilnehmendePerson columns: - column: GradDerBehinderung - column: Status - column: Werkstatt - column: Eintrittsdatum - column: Austrittsdatum - column: Person - column: AnerkanntSchwerbehindert The table should have the title "TeilnehmendePersons" und the data must be loaded from the server with the following relative URL: "/TeilnehmendePersonService/teilnehmendeperson/person/{id}" Add a HTML table to the view with the following MitarbeitendePerson columns: - column: BeschaeftigtVon - column: Person - column: Rolle - column: Werkstatt - column: BeschaeftigtBis The table should have the title "MitarbeitendePersons" und the data must be loaded from the server with the following relative URL: "/PersonService/mitarbeitendeperson/person/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum