Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
SupermarktApp
Please create a React-JS application for the SupermarktModule. The application has to offer the following views for the user interface: 1. KonsumgenossenschaftView 2. KundenrabattprogrammView 3. MitgliedschaftView 4. OeffnungszeitView 5. OnlineSupermarktView 6. SupermarktView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 6 views are defined below. 1. The KonsumgenossenschaftView must contain the following fields: - name: Gruendungsjahr type: LONG - 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: "/SupermarktService/konsumgenossenschaft/{id}" (HTTP-GET) If a new Konsumgenossenschaft entity has been created, the new entity should be posted to the relative URL: "/SupermarktService/konsumgenossenschaft" (HTTP-POST) If an existing Konsumgenossenschaft entity has been updated, the modified entity should be sent to the relative URL: "/SupermarktService/konsumgenossenschaft/{id}" (HTTP-PUT) If an existing Konsumgenossenschaft entity has to be deleted, the following relative URL should be called: "/SupermarktService/konsumgenossenschaft/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Supermarkt columns: - column: IstBioSupermarkt - column: FrontstoreFlaecheQm - column: VerkaufsflaecheQm - column: HatBedientheken - column: Name - column: Sortimentstyp - column: BackstoreFlaecheQm - column: Konsumgenossenschaft - column: Land - column: Stadt - column: Einkaufsgemeinschaft - column: Eroeffnungsdatum - column: Handelskette - column: Betriebsform - column: Betreiberart - column: IstDiscounter 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: Beitrittsdatum - column: Geldeinlage - column: Kunde - column: Konsumgenossenschaft The table should have the title "Mitgliedschafts" und the data must be loaded from the server with the following relative URL: "/SupermarktService/mitgliedschaft/konsumgenossenschaft/{id}" 2. The KundenrabattprogrammView must contain the following fields: - name: Beschreibung type: STRING - name: Bezeichnung type: STRING - name: NurMitKundenkarte type: BOOL - name: RabattProzent 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 Kundenrabattprogramm entity should be loaded from the relative URL: "/SupermarktService/kundenrabattprogramm/{id}" (HTTP-GET) If a new Kundenrabattprogramm entity has been created, the new entity should be posted to the relative URL: "/SupermarktService/kundenrabattprogramm" (HTTP-POST) If an existing Kundenrabattprogramm entity has been updated, the modified entity should be sent to the relative URL: "/SupermarktService/kundenrabattprogramm/{id}" (HTTP-PUT) If an existing Kundenrabattprogramm entity has to be deleted, the following relative URL should be called: "/SupermarktService/kundenrabattprogramm/{id}" (HTTP-DELETE) 3. 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: "/SupermarktService/konsumgenossenschaft" (HTTP-GET) An existing Mitgliedschaft entity should be loaded from the relative URL: "/SupermarktService/mitgliedschaft/{id}" (HTTP-GET) If a new Mitgliedschaft entity has been created, the new entity should be posted to the relative URL: "/SupermarktService/mitgliedschaft" (HTTP-POST) If an existing Mitgliedschaft entity has been updated, the modified entity should be sent to the relative URL: "/SupermarktService/mitgliedschaft/{id}" (HTTP-PUT) If an existing Mitgliedschaft entity has to be deleted, the following relative URL should be called: "/SupermarktService/mitgliedschaft/{id}" (HTTP-DELETE) 4. The OeffnungszeitView must contain the following fields: - name: IstFeiertagRegelung type: BOOL - name: OeffnetUm type: STRING - name: SchliesstUm type: STRING - name: Supermarkt type: Supermarkt - name: Wochentag type: STRING The data source for the [Supermarkt] select control should be loaded from the relative URL: "/SupermarktService/supermarkt" (HTTP-GET) An existing Oeffnungszeit entity should be loaded from the relative URL: "/SupermarktService/oeffnungszeit/{id}" (HTTP-GET) If a new Oeffnungszeit entity has been created, the new entity should be posted to the relative URL: "/SupermarktService/oeffnungszeit" (HTTP-POST) If an existing Oeffnungszeit entity has been updated, the modified entity should be sent to the relative URL: "/SupermarktService/oeffnungszeit/{id}" (HTTP-PUT) If an existing Oeffnungszeit entity has to be deleted, the following relative URL should be called: "/SupermarktService/oeffnungszeit/{id}" (HTTP-DELETE) 5. 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: "/SupermarktService/onlinesupermarkt/{id}" (HTTP-GET) If a new OnlineSupermarkt entity has been created, the new entity should be posted to the relative URL: "/SupermarktService/onlinesupermarkt" (HTTP-POST) If an existing OnlineSupermarkt entity has been updated, the modified entity should be sent to the relative URL: "/SupermarktService/onlinesupermarkt/{id}" (HTTP-PUT) If an existing OnlineSupermarkt entity has to be deleted, the following relative URL should be called: "/SupermarktService/onlinesupermarkt/{id}" (HTTP-DELETE) 6. The SupermarktView must contain the following fields: - name: BackstoreFlaecheQm type: LONG - name: Betreiberart type: STRING - name: Betriebsform type: Betriebsform - name: Einkaufsgemeinschaft type: Einkaufsgemeinschaft - name: Eroeffnungsdatum type: DATE - name: FrontstoreFlaecheQm type: LONG - name: Handelskette type: Handelskette - name: HatBedientheken type: BOOL - name: IstBioSupermarkt type: BOOL - name: IstDiscounter type: BOOL - name: Konsumgenossenschaft type: Konsumgenossenschaft - name: Land type: Land - name: Name type: STRING - name: Sortimentstyp type: Sortimentstyp - name: Stadt type: Stadt - name: VerkaufsflaecheQm type: LONG The data source for the [Sortimentstyp] select control should be loaded from the relative URL: "/EinkaufsgemeinschaftService/sortimentstyp" (HTTP-GET) The data source for the [Stadt] select control should be loaded from the relative URL: "/LandService/stadt" (HTTP-GET) The data source for the [Betriebsform] select control should be loaded from the relative URL: "/KasseService/betriebsform" (HTTP-GET) The data source for the [Konsumgenossenschaft] select control should be loaded from the relative URL: "/SupermarktService/konsumgenossenschaft" (HTTP-GET) The data source for the [Einkaufsgemeinschaft] select control should be loaded from the relative URL: "/EinkaufsgemeinschaftService/einkaufsgemeinschaft" (HTTP-GET) The data source for the [Handelskette] select control should be loaded from the relative URL: "/HandelsketteService/handelskette" (HTTP-GET) The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Supermarkt entity should be loaded from the relative URL: "/SupermarktService/supermarkt/{id}" (HTTP-GET) If a new Supermarkt entity has been created, the new entity should be posted to the relative URL: "/SupermarktService/supermarkt" (HTTP-POST) If an existing Supermarkt entity has been updated, the modified entity should be sent to the relative URL: "/SupermarktService/supermarkt/{id}" (HTTP-PUT) If an existing Supermarkt entity has to be deleted, the following relative URL should be called: "/SupermarktService/supermarkt/{id}" (HTTP-DELETE) Add a HTML table to the view with the following OnlineSupermarkt columns: - column: VersandLebensmittel - column: Lieferservice - column: Url - column: VersandNonFood - column: Supermarkt The table should have the title "OnlineSupermarkts" und the data must be loaded from the server with the following relative URL: "/SupermarktService/onlinesupermarkt/supermarkt/{id}" Add a HTML table to the view with the following Oeffnungszeit columns: - column: Wochentag - column: OeffnetUm - column: SchliesstUm - column: Supermarkt - column: IstFeiertagRegelung The table should have the title "Oeffnungszeits" und the data must be loaded from the server with the following relative URL: "/SupermarktService/oeffnungszeit/supermarkt/{id}" Add a HTML table to the view with the following Kasse columns: - column: Nummer - column: IstSelbstbedienung - column: Kassenart - column: Supermarkt - column: HatWaage The table should have the title "Kasses" und the data must be loaded from the server with the following relative URL: "/KasseService/kasse/supermarkt/{id}" Add a HTML table to the view with the following Regal columns: - column: GangNummer - column: PositionBeschreibung - column: Bereich - column: Supermarkt The table should have the title "Regals" und the data must be loaded from the server with the following relative URL: "/RegalService/regal/supermarkt/{id}" Add a HTML table to the view with the following Dienstleistung columns: - column: Supermarkt - column: IstRundUmDieUhr - column: HatAutoVerstauservice - column: Bezeichnung - column: HatEinpackservice - column: HatKinderwagen - column: HatElektroroller - column: Beschreibung The table should have the title "Dienstleistungs" und the data must be loaded from the server with the following relative URL: "/KundeService/dienstleistung/supermarkt/{id}" Add a HTML table to the view with the following KreditkarteProgramm columns: - column: Beschreibung - column: Bezeichnung - column: Supermarkt The table should have the title "KreditkarteProgramms" und the data must be loaded from the server with the following relative URL: "/HandelsketteService/kreditkarteprogramm/supermarkt/{id}" Add a HTML table to the view with the following Umweltbilanz columns: - column: PkwAnteilProzent - column: Supermarkt - column: Co2ProKundeKg - column: Jahr - column: OeffiAnteilProzent The table should have the title "Umweltbilanzs" und the data must be loaded from the server with the following relative URL: "/KasseService/umweltbilanz/supermarkt/{id}" Add a HTML table to the view with the following HistorischesEreignis columns: - column: Datum - column: Beschreibung - column: Supermarkt - column: Quelle The table should have the title "HistorischesEreigniss" und the data must be loaded from the server with the following relative URL: "/KundeService/historischesereignis/supermarkt/{id}" Add a HTML table to the view with the following Personalkostenstruktur columns: - column: Mitarbeiteranzahl - column: PersonalkostenAnteilProzent - column: Jahr - column: BruttoUmsatz - column: Supermarkt The table should have the title "Personalkostenstrukturs" und the data must be loaded from the server with the following relative URL: "/KundeService/personalkostenstruktur/supermarkt/{id}" Add a HTML table to the view with the following Franchisevertrag columns: - column: Supermarkt - column: FranchiseGebiet - column: FranchisenehmerName - column: Handelskette - column: Vertragsende - column: Vertragsbeginn The table should have the title "Franchisevertrags" und the data must be loaded from the server with the following relative URL: "/HandelsketteService/franchisevertrag/supermarkt/{id}" Add a HTML table to the view with the following Marketingmassnahme columns: - column: Enddatum - column: IstSonderangebot - column: IstImpulskaufFoerderung - column: IstHintergrundmusik - column: Beschreibung - column: Startdatum - column: Zielgruppe - column: Bezeichnung - column: Supermarkt The table should have the title "Marketingmassnahmes" und the data must be loaded from the server with the following relative URL: "/EinkaufsgemeinschaftService/marketingmassnahme/supermarkt/{id}" Add a HTML table to the view with the following Filiale columns: - column: Supermarkt - column: Schliessungsdatum - column: VerkaufsflaecheQm - column: Stadt - column: AdressePlz - column: Land - column: Eroeffnungsdatum - column: AdresseStrasse - column: Filialnummer The table should have the title "Filiales" und the data must be loaded from the server with the following relative URL: "/LandService/filiale/supermarkt/{id}" Add a HTML table to the view with the following Kundenkarte columns: - column: Ablaufdatum - column: Kunde - column: Kartennummer - column: Ausgabedatum - column: Supermarkt - column: RabattProgramm The table should have the title "Kundenkartes" und the data must be loaded from the server with the following relative URL: "/KundeService/kundenkarte/supermarkt/{id}" Add a HTML table to the view with the following Kundenrabattprogramm columns: - column: NurMitKundenkarte - column: Supermarkt - column: RabattProzent - column: Beschreibung - column: Bezeichnung The table should have the title "Kundenrabattprogramms" und the data must be loaded from the server with the following relative URL: "/SupermarktService/kundenrabattprogramm/supermarkt/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum