Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
KonsumgenossenschaftApp
Please create a React-JS application for the KonsumgenossenschaftModule. The application has to offer the following views for the user interface: 1. KonsumgenossenschaftView 2. MitgliedschaftView 3. OnlineSupermarktView 4. PersonalkostenstrukturView 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 KonsumgenossenschaftView must contain the following fields: - name: Gruendungsjahr type: INT - name: Land type: Land - name: MindestGeldeinlage type: STRING - name: Name type: STRING The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Konsumgenossenschaft entity should be loaded from the relative URL: "/KonsumgenossenschaftService/konsumgenossenschaft/{id}" (HTTP-GET) If a new Konsumgenossenschaft entity has been created, the new entity should be posted to the relative URL: "/KonsumgenossenschaftService/konsumgenossenschaft" (HTTP-POST) If an existing Konsumgenossenschaft entity has been updated, the modified entity should be sent to the relative URL: "/KonsumgenossenschaftService/konsumgenossenschaft/{id}" (HTTP-PUT) If an existing Konsumgenossenschaft entity has to be deleted, the following relative URL should be called: "/KonsumgenossenschaftService/konsumgenossenschaft/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Supermarkt columns: - column: Betreiberart - column: Stadt - column: Land - column: Konsumgenossenschaft - column: Handelskette - column: Name - column: FrontstoreFlaecheQm - column: HatBedientheken - column: Sortimentstyp - column: Eroeffnungsdatum - column: BackstoreFlaecheQm - column: IstBioSupermarkt - column: Betriebsform - column: Einkaufsgemeinschaft - column: IstDiscounter - column: VerkaufsflaecheQm The table should have the title "Supermarkts" und the data must be loaded from the server with the following relative URL: "/SupermarktService/supermarkt/konsumgenossenschaft/{id}" Add a HTML table to the view with the following Mitgliedschaft columns: - column: Konsumgenossenschaft - column: Kunde - column: Beitrittsdatum - column: Geldeinlage The table should have the title "Mitgliedschafts" und the data must be loaded from the server with the following relative URL: "/KonsumgenossenschaftService/mitgliedschaft/konsumgenossenschaft/{id}" 2. The MitgliedschaftView must contain the following fields: - name: Beitrittsdatum type: DATE - name: Geldeinlage type: STRING - name: Konsumgenossenschaft type: Konsumgenossenschaft - name: Kunde type: Kunde The data source for the [Kunde] select control should be loaded from the relative URL: "/KundeService/kunde" (HTTP-GET) The data source for the [Konsumgenossenschaft] select control should be loaded from the relative URL: "/KonsumgenossenschaftService/konsumgenossenschaft" (HTTP-GET) An existing Mitgliedschaft entity should be loaded from the relative URL: "/KonsumgenossenschaftService/mitgliedschaft/{id}" (HTTP-GET) If a new Mitgliedschaft entity has been created, the new entity should be posted to the relative URL: "/KonsumgenossenschaftService/mitgliedschaft" (HTTP-POST) If an existing Mitgliedschaft entity has been updated, the modified entity should be sent to the relative URL: "/KonsumgenossenschaftService/mitgliedschaft/{id}" (HTTP-PUT) If an existing Mitgliedschaft entity has to be deleted, the following relative URL should be called: "/KonsumgenossenschaftService/mitgliedschaft/{id}" (HTTP-DELETE) 3. The OnlineSupermarktView must contain the following fields: - name: Lieferservice type: BOOL - name: Supermarkt type: Supermarkt - name: Url type: STRING - name: VersandLebensmittel type: BOOL - name: VersandNonFood type: BOOL The data source for the [Supermarkt] select control should be loaded from the relative URL: "/SupermarktService/supermarkt" (HTTP-GET) An existing OnlineSupermarkt entity should be loaded from the relative URL: "/KonsumgenossenschaftService/onlinesupermarkt/{id}" (HTTP-GET) If a new OnlineSupermarkt entity has been created, the new entity should be posted to the relative URL: "/KonsumgenossenschaftService/onlinesupermarkt" (HTTP-POST) If an existing OnlineSupermarkt entity has been updated, the modified entity should be sent to the relative URL: "/KonsumgenossenschaftService/onlinesupermarkt/{id}" (HTTP-PUT) If an existing OnlineSupermarkt entity has to be deleted, the following relative URL should be called: "/KonsumgenossenschaftService/onlinesupermarkt/{id}" (HTTP-DELETE) 4. The PersonalkostenstrukturView must contain the following fields: - name: BruttoUmsatz type: STRING - name: Jahr type: INT - name: Mitarbeiteranzahl type: INT - name: PersonalkostenAnteilProzent type: STRING - name: Supermarkt type: Supermarkt The data source for the [Supermarkt] select control should be loaded from the relative URL: "/SupermarktService/supermarkt" (HTTP-GET) An existing Personalkostenstruktur entity should be loaded from the relative URL: "/KonsumgenossenschaftService/personalkostenstruktur/{id}" (HTTP-GET) If a new Personalkostenstruktur entity has been created, the new entity should be posted to the relative URL: "/KonsumgenossenschaftService/personalkostenstruktur" (HTTP-POST) If an existing Personalkostenstruktur entity has been updated, the modified entity should be sent to the relative URL: "/KonsumgenossenschaftService/personalkostenstruktur/{id}" (HTTP-PUT) If an existing Personalkostenstruktur entity has to be deleted, the following relative URL should be called: "/KonsumgenossenschaftService/personalkostenstruktur/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum