Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
PflegeheimketteApp
Please create a React-JS application for the PflegeheimketteModule. The application has to offer the following views for the user interface: 1. PersonalRolleView 2. PflegeheimketteView 3. PflegeplatzView 4. RolleView 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 PersonalRolleView must contain the following fields: - name: GueltigAb type: DATE - name: GueltigBis type: DATE - name: Personal type: Personal - name: Rolle type: Rolle The data source for the [Personal] select control should be loaded from the relative URL: "/PflegeheimService/personal" (HTTP-GET) The data source for the [Rolle] select control should be loaded from the relative URL: "/PflegeheimketteService/rolle" (HTTP-GET) An existing PersonalRolle entity should be loaded from the relative URL: "/PflegeheimketteService/personalrolle/{id}" (HTTP-GET) If a new PersonalRolle entity has been created, the new entity should be posted to the relative URL: "/PflegeheimketteService/personalrolle" (HTTP-POST) If an existing PersonalRolle entity has been updated, the modified entity should be sent to the relative URL: "/PflegeheimketteService/personalrolle/{id}" (HTTP-PUT) If an existing PersonalRolle entity has to be deleted, the following relative URL should be called: "/PflegeheimketteService/personalrolle/{id}" (HTTP-DELETE) 2. The PflegeheimketteView must contain the following fields: - name: Gewinnorientiert type: BOOL - name: Name type: STRING - name: SitzLand type: STRING - name: SitzOrt type: STRING An existing Pflegeheimkette entity should be loaded from the relative URL: "/PflegeheimketteService/pflegeheimkette/{id}" (HTTP-GET) If a new Pflegeheimkette entity has been created, the new entity should be posted to the relative URL: "/PflegeheimketteService/pflegeheimkette" (HTTP-POST) If an existing Pflegeheimkette entity has been updated, the modified entity should be sent to the relative URL: "/PflegeheimketteService/pflegeheimkette/{id}" (HTTP-PUT) If an existing Pflegeheimkette entity has to be deleted, the following relative URL should be called: "/PflegeheimketteService/pflegeheimkette/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Pflegeheim columns: - column: Strasse - column: TagespflegePlaetze - column: Pflegeheimkette - column: Name - column: Plz - column: Bundesland - column: NachtpflegePlaetze - column: Traeger - column: KurzzeitpflegePlaetze - column: Heimart - column: ZugelassenDurchPflegeversicherung - column: Aktiv - column: Pflegeschwerpunkt - column: Ort - column: VollstationaerePlaetze The table should have the title "Pflegeheims" und the data must be loaded from the server with the following relative URL: "/PflegeheimService/pflegeheim/pflegeheimkette/{id}" 3. The PflegeplatzView must contain the following fields: - name: Aktiv type: BOOL - name: Bereich type: STRING - name: IstKurzzeitpflege type: BOOL - name: MaxBewohner type: INT - name: Pflegeart type: Pflegeart - name: Pflegeheim type: Pflegeheim - name: Zimmernummer 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 [Pflegeart] select control should be loaded from the relative URL: "/PflegeartService/pflegeart" (HTTP-GET) An existing Pflegeplatz entity should be loaded from the relative URL: "/PflegeheimketteService/pflegeplatz/{id}" (HTTP-GET) If a new Pflegeplatz entity has been created, the new entity should be posted to the relative URL: "/PflegeheimketteService/pflegeplatz" (HTTP-POST) If an existing Pflegeplatz entity has been updated, the modified entity should be sent to the relative URL: "/PflegeheimketteService/pflegeplatz/{id}" (HTTP-PUT) If an existing Pflegeplatz entity has to be deleted, the following relative URL should be called: "/PflegeheimketteService/pflegeplatz/{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/pflegeplatz/{id}" 4. The RolleView must contain the following fields: - name: Beschreibung type: STRING - name: Bezeichnung type: STRING - name: Code type: STRING An existing Rolle entity should be loaded from the relative URL: "/PflegeheimketteService/rolle/{id}" (HTTP-GET) If a new Rolle entity has been created, the new entity should be posted to the relative URL: "/PflegeheimketteService/rolle" (HTTP-POST) If an existing Rolle entity has been updated, the modified entity should be sent to the relative URL: "/PflegeheimketteService/rolle/{id}" (HTTP-PUT) If an existing Rolle entity has to be deleted, the following relative URL should be called: "/PflegeheimketteService/rolle/{id}" (HTTP-DELETE) Add a HTML table to the view with the following PersonalRolle columns: - column: GueltigAb - column: Personal - column: Rolle - column: GueltigBis The table should have the title "PersonalRolles" und the data must be loaded from the server with the following relative URL: "/PflegeheimketteService/personalrolle/rolle/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum