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. LandView 2. LandKinoStatistikJahrView 3. SteuersatzView 4. TicketView 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 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: Laengengrad - column: Land - column: Breitengrad - column: Name - column: Region The table should have the title "Stadts" und the data must be loaded from the server with the following relative URL: "/StadtService/stadt/land/{id}" Add a HTML table to the view with the following LandKinoStatistikJahr columns: - column: Jahr - column: UmsatzMillionen - column: AnteilNationaleFilmeProzent - column: BesucherMillionen - column: Durchschnittspreis - column: Land The table should have the title "LandKinoStatistikJahrs" und the data must be loaded from the server with the following relative URL: "/LandService/landkinostatistikjahr/land/{id}" Add a HTML table to the view with the following Steuersatz columns: - column: Land - column: VonDatum - column: IstErmaessigt - column: BisDatum - column: Name - column: Prozent 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}" 2. The LandKinoStatistikJahrView must contain the following fields: - name: AnteilNationaleFilmeProzent type: DOUBLE - name: BesucherMillionen type: DOUBLE - name: Durchschnittspreis type: DOUBLE - name: Jahr type: LONG - name: Land type: Land - name: UmsatzMillionen type: DOUBLE The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing LandKinoStatistikJahr entity should be loaded from the relative URL: "/LandService/landkinostatistikjahr/{id}" (HTTP-GET) If a new LandKinoStatistikJahr entity has been created, the new entity should be posted to the relative URL: "/LandService/landkinostatistikjahr" (HTTP-POST) If an existing LandKinoStatistikJahr entity has been updated, the modified entity should be sent to the relative URL: "/LandService/landkinostatistikjahr/{id}" (HTTP-PUT) If an existing LandKinoStatistikJahr entity has to be deleted, the following relative URL should be called: "/LandService/landkinostatistikjahr/{id}" (HTTP-DELETE) 3. 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 Ticket columns: - column: Steuersatz - column: Verkaufszeit - column: IstErmaessigt - column: Vorstellung - column: PreisGezahlt The table should have the title "Tickets" und the data must be loaded from the server with the following relative URL: "/LandService/ticket/steuersatz/{id}" Add a HTML table to the view with the following KinoSteuer columns: - column: Kino - column: BisDatum - column: KommunaleVergnuegungssteuerProzent - column: Steuersatz - column: VonDatum The table should have the title "KinoSteuers" und the data must be loaded from the server with the following relative URL: "/KinoService/kinosteuer/steuersatz/{id}" 4. The TicketView must contain the following fields: - name: IstErmaessigt type: BOOL - name: PreisGezahlt type: DOUBLE - name: Steuersatz type: Steuersatz - name: Verkaufszeit type: DATE - name: Vorstellung type: Vorstellung The data source for the [Steuersatz] select control should be loaded from the relative URL: "/LandService/steuersatz" (HTTP-GET) The data source for the [Vorstellung] select control should be loaded from the relative URL: "/FilmService/vorstellung" (HTTP-GET) An existing Ticket entity should be loaded from the relative URL: "/LandService/ticket/{id}" (HTTP-GET) If a new Ticket entity has been created, the new entity should be posted to the relative URL: "/LandService/ticket" (HTTP-POST) If an existing Ticket entity has been updated, the modified entity should be sent to the relative URL: "/LandService/ticket/{id}" (HTTP-PUT) If an existing Ticket entity has to be deleted, the following relative URL should be called: "/LandService/ticket/{id}" (HTTP-DELETE) Add a HTML table to the view with the following SitzReservierung columns: - column: Sitz - column: Ticket The table should have the title "SitzReservierungs" und the data must be loaded from the server with the following relative URL: "/SaalService/sitzreservierung/ticket/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum