Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
BewohnerView
Please create a React-JS view called "BewohnerView" for the fields of the Bewohner entity. The BewohnerView must contain the following fields: - name: AktuellerPflegestatus type: STRING - name: Auszugsdatum type: DATE - name: Einzugsdatum type: DATE - name: Geburtsdatum type: DATE - name: Geschlecht type: STRING - name: HatAngehoerigeDieZahlen type: BOOL - name: Nachname type: STRING - name: Pflegegrad type: Pflegegrad - name: Pflegeheim type: Pflegeheim - name: Pflegekasse type: Pflegekasse - name: Sozialhilfetraeger type: Sozialhilfetraeger - name: Sterbedatum type: DATE - name: Vorname type: STRING The data source for the [Pflegeheim] select control should be loaded from the relative URL: "/PflegeheimService/pflegeheim" (HTTP-GET) The data source for the [Pflegegrad] select control should be loaded from the relative URL: "/PflegegradService/pflegegrad" (HTTP-GET) The data source for the [Sozialhilfetraeger] select control should be loaded from the relative URL: "/TraegerService/sozialhilfetraeger" (HTTP-GET) The data source for the [Pflegekasse] select control should be loaded from the relative URL: "/BewohnerService/pflegekasse" (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 Heimvertrag columns: - column: Pflegeplatz - column: Bemessungsdatum - column: Bewohner - column: Vertragsbeginn - column: EinheitlicherEigenanteilMonat - column: GesamtheimentgeltMonat - column: AusbildungsumlageMonat - column: Aktuell - column: Pflegeart - column: Vertragsende - column: PflegesatzMonat - column: UnterkunftVerpflegungMonat - column: InvestitionskostenMonat The table should have the title "Heimvertrags" und the data must be loaded from the server with the following relative URL: "/PflegeartService/heimvertrag/bewohner/{id}" Add a HTML table to the view with the following Zahlung columns: - column: Zahlungsart - column: Heimvertrag - column: Betrag - column: Zahlungsdatum - column: Bewohner - column: LeistenderTyp - column: Bemerkung The table should have the title "Zahlungs" und the data must be loaded from the server with the following relative URL: "/BewohnerService/zahlung/bewohner/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum