Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
BewohnerApp
Please create a React-JS application for the BewohnerModule. The application has to offer the following views for the user interface: 1. BewohnerView 2. PersonView 3. SozialleistungsfallView 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 BewohnerView must contain the following fields: - name: Enddatum type: DATE - name: Landesvariante type: Landesvariante - name: Person type: Person - name: Startdatum type: DATE - name: Unterstuetzungsniveau type: STRING - name: Zielgruppe type: STRING The data source for the [Landesvariante] select control should be loaded from the relative URL: "/LandesvarianteService/landesvariante" (HTTP-GET) The data source for the [Person] select control should be loaded from the relative URL: "/BewohnerService/person" (HTTP-GET) An existing Bewohner entity should be loaded from the relative URL: "/BewohnerService/bewohner/{id}" (HTTP-GET) If a new Bewohner entity has been created, the new entity should be posted to the relative URL: "/BewohnerService/bewohner" (HTTP-POST) If an existing Bewohner entity has been updated, the modified entity should be sent to the relative URL: "/BewohnerService/bewohner/{id}" (HTTP-PUT) If an existing Bewohner entity has to be deleted, the following relative URL should be called: "/BewohnerService/bewohner/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Sozialleistungsfall columns: - column: Gesetzesbezug - column: Startdatum - column: Enddatum - column: Notizen - column: Bewohner - column: Leistungsart The table should have the title "Sozialleistungsfalls" und the data must be loaded from the server with the following relative URL: "/BewohnerService/sozialleistungsfall/bewohner/{id}" Add a HTML table to the view with the following Vertrag columns: - column: Vertragstyp - column: Traegerorganisation - column: Enddatum - column: Wohnung - column: Bewohner - column: Wohnform - column: Startdatum - column: Notizen The table should have the title "Vertrags" und the data must be loaded from the server with the following relative URL: "/TraegerorganisationService/vertrag/bewohner/{id}" Add a HTML table to the view with the following GruppentreffenTeilnehmer columns: - column: Gruppentreffen - column: Rolle - column: Bewohner The table should have the title "GruppentreffenTeilnehmers" und the data must be loaded from the server with the following relative URL: "/GruppentreffenService/gruppentreffenteilnehmer/bewohner/{id}" Add a HTML table to the view with the following BewohnerWohnform columns: - column: VonDatum - column: BisDatum - column: Wohnform - column: Bewohner The table should have the title "BewohnerWohnforms" und the data must be loaded from the server with the following relative URL: "/WohnformService/bewohnerwohnform/bewohner/{id}" Add a HTML table to the view with the following Hilfsplan columns: - column: AutonomieZiel - column: ArbeitsZiel - column: IntegrationsZiel - column: Erstellungsdatum - column: Zielbeschreibung - column: Bewohner The table should have the title "Hilfsplans" und the data must be loaded from the server with the following relative URL: "/HilfsplanService/hilfsplan/bewohner/{id}" Add a HTML table to the view with the following Konfliktfall columns: - column: Geloest - column: Startdatum - column: Beschreibung - column: Enddatum - column: Mitarbeiter - column: Bewohner The table should have the title "Konfliktfalls" und the data must be loaded from the server with the following relative URL: "/MitarbeiterService/konfliktfall/bewohner/{id}" 2. The PersonView must contain the following fields: - name: Geburtsdatum type: DATE - name: IstBehindert type: BOOL - name: IstDrogenabhaengig type: BOOL - name: IstEhemaligerStrafgefangener type: BOOL - name: IstJugendlich type: BOOL - name: IstKoerperlichBeeintraechtigt type: BOOL - name: IstObdachlos type: BOOL - name: IstPsychischErkrankt type: BOOL - name: IstSenior type: BOOL - name: Nachname type: STRING - name: Notizen type: STRING - name: Vorname type: STRING An existing Person entity should be loaded from the relative URL: "/BewohnerService/person/{id}" (HTTP-GET) If a new Person entity has been created, the new entity should be posted to the relative URL: "/BewohnerService/person" (HTTP-POST) If an existing Person entity has been updated, the modified entity should be sent to the relative URL: "/BewohnerService/person/{id}" (HTTP-PUT) If an existing Person entity has to be deleted, the following relative URL should be called: "/BewohnerService/person/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Bewohner columns: - column: Startdatum - column: Person - column: Enddatum - column: Landesvariante - column: Unterstuetzungsniveau - column: Zielgruppe The table should have the title "Bewohners" und the data must be loaded from the server with the following relative URL: "/BewohnerService/bewohner/person/{id}" Add a HTML table to the view with the following Mitarbeiter columns: - column: Traegerorganisation - column: Beruf - column: Person - column: Qualifikation 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}" 3. The SozialleistungsfallView must contain the following fields: - name: Bewohner type: Bewohner - name: Enddatum type: DATE - name: Gesetzesbezug type: STRING - name: Leistungsart type: STRING - name: Notizen type: STRING - name: Startdatum type: DATE The data source for the [Bewohner] select control should be loaded from the relative URL: "/BewohnerService/bewohner" (HTTP-GET) An existing Sozialleistungsfall entity should be loaded from the relative URL: "/BewohnerService/sozialleistungsfall/{id}" (HTTP-GET) If a new Sozialleistungsfall entity has been created, the new entity should be posted to the relative URL: "/BewohnerService/sozialleistungsfall" (HTTP-POST) If an existing Sozialleistungsfall entity has been updated, the modified entity should be sent to the relative URL: "/BewohnerService/sozialleistungsfall/{id}" (HTTP-PUT) If an existing Sozialleistungsfall entity has to be deleted, the following relative URL should be called: "/BewohnerService/sozialleistungsfall/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum