Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
LandApp
Please create a React-JS application for the LandModule. The application has to offer the following views for the user interface: 1. KinoSteuerView 2. LandView 3. StadtView 4. StadtKinoStatistikJahrView 5. SteuersatzView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 5 views are defined below. 1. The KinoSteuerView must contain the following fields: - name: BisDatum type: DATE - name: Kino type: Kino - name: KommunaleVergnuegungssteuerProzent type: DOUBLE - name: Steuersatz type: Steuersatz - name: VonDatum type: DATE The data source for the [Steuersatz] select control should be loaded from the relative URL: "/LandService/steuersatz" (HTTP-GET) The data source for the [Kino] select control should be loaded from the relative URL: "/KinoService/kino" (HTTP-GET) An existing KinoSteuer entity should be loaded from the relative URL: "/LandService/kinosteuer/{id}" (HTTP-GET) If a new KinoSteuer entity has been created, the new entity should be posted to the relative URL: "/LandService/kinosteuer" (HTTP-POST) If an existing KinoSteuer entity has been updated, the modified entity should be sent to the relative URL: "/LandService/kinosteuer/{id}" (HTTP-PUT) If an existing KinoSteuer entity has to be deleted, the following relative URL should be called: "/LandService/kinosteuer/{id}" (HTTP-DELETE) 2. The LandView must contain the following fields: - name: IsoCode type: STRING - name: Name type: STRING An existing Land entity should be loaded from the relative URL: "/LandService/land/{id}" (HTTP-GET) If a new Land entity has been created, the new entity should be posted to the relative URL: "/LandService/land" (HTTP-POST) If an existing Land entity has been updated, the modified entity should be sent to the relative URL: "/LandService/land/{id}" (HTTP-PUT) If an existing Land entity has to be deleted, the following relative URL should be called: "/LandService/land/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Stadt columns: - column: Name - column: Laengengrad - column: Region - column: Land - column: Breitengrad The table should have the title "Stadts" und the data must be loaded from the server with the following relative URL: "/LandService/stadt/land/{id}" Add a HTML table to the view with the following LandKinoStatistikJahr columns: - column: Durchschnittspreis - column: Land - column: AnteilNationaleFilmeProzent - column: Jahr - column: UmsatzMillionen - column: BesucherMillionen The table should have the title "LandKinoStatistikJahrs" und the data must be loaded from the server with the following relative URL: "/KinomerkmalService/landkinostatistikjahr/land/{id}" Add a HTML table to the view with the following Steuersatz columns: - column: Prozent - column: Land - column: Name - column: IstErmaessigt - column: VonDatum - column: BisDatum The table should have the title "Steuersatzs" und the data must be loaded from the server with the following relative URL: "/LandService/steuersatz/land/{id}" 3. The StadtView must contain the following fields: - name: Breitengrad type: STRING - name: Laengengrad type: STRING - name: Land type: Land - name: Name type: STRING - name: Region type: STRING The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Stadt entity should be loaded from the relative URL: "/LandService/stadt/{id}" (HTTP-GET) If a new Stadt entity has been created, the new entity should be posted to the relative URL: "/LandService/stadt" (HTTP-POST) If an existing Stadt entity has been updated, the modified entity should be sent to the relative URL: "/LandService/stadt/{id}" (HTTP-PUT) If an existing Stadt entity has to be deleted, the following relative URL should be called: "/LandService/stadt/{id}" (HTTP-DELETE) Add a HTML table to the view with the following StadtKinoStatistikJahr columns: - column: Besucher - column: Umsatz - column: Jahr - column: Stadt The table should have the title "StadtKinoStatistikJahrs" und the data must be loaded from the server with the following relative URL: "/LandService/stadtkinostatistikjahr/stadt/{id}" Add a HTML table to the view with the following Kino columns: - column: IstInBetrieb - column: Eroeffnungsdatum - column: Kinokette - column: Beschreibung - column: AnzahlSaeale - column: Webseite - column: Name - column: HistorischeBedeutung - column: Stadt The table should have the title "Kinos" und the data must be loaded from the server with the following relative URL: "/KinoService/kino/stadt/{id}" 4. The StadtKinoStatistikJahrView must contain the following fields: - name: Besucher type: LONG - name: Jahr type: LONG - name: Stadt type: Stadt - name: Umsatz type: DOUBLE The data source for the [Stadt] select control should be loaded from the relative URL: "/LandService/stadt" (HTTP-GET) An existing StadtKinoStatistikJahr entity should be loaded from the relative URL: "/LandService/stadtkinostatistikjahr/{id}" (HTTP-GET) If a new StadtKinoStatistikJahr entity has been created, the new entity should be posted to the relative URL: "/LandService/stadtkinostatistikjahr" (HTTP-POST) If an existing StadtKinoStatistikJahr entity has been updated, the modified entity should be sent to the relative URL: "/LandService/stadtkinostatistikjahr/{id}" (HTTP-PUT) If an existing StadtKinoStatistikJahr entity has to be deleted, the following relative URL should be called: "/LandService/stadtkinostatistikjahr/{id}" (HTTP-DELETE) 5. The SteuersatzView must contain the following fields: - name: BisDatum type: DATE - name: IstErmaessigt type: BOOL - name: Land type: Land - name: Name type: STRING - name: Prozent type: DOUBLE - name: VonDatum type: DATE The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Steuersatz entity should be loaded from the relative URL: "/LandService/steuersatz/{id}" (HTTP-GET) If a new Steuersatz entity has been created, the new entity should be posted to the relative URL: "/LandService/steuersatz" (HTTP-POST) If an existing Steuersatz entity has been updated, the modified entity should be sent to the relative URL: "/LandService/steuersatz/{id}" (HTTP-PUT) If an existing Steuersatz entity has to be deleted, the following relative URL should be called: "/LandService/steuersatz/{id}" (HTTP-DELETE) Add a HTML table to the view with the following KinoSteuer columns: - column: Steuersatz - column: KommunaleVergnuegungssteuerProzent - column: BisDatum - column: Kino - column: VonDatum The table should have the title "KinoSteuers" und the data must be loaded from the server with the following relative URL: "/LandService/kinosteuer/steuersatz/{id}" Add a HTML table to the view with the following Ticket columns: - column: Steuersatz - column: Verkaufszeit - column: Vorstellung - column: PreisGezahlt - column: IstErmaessigt The table should have the title "Tickets" und the data must be loaded from the server with the following relative URL: "/FilmService/ticket/steuersatz/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum