Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
UnterkunftApp
Please create a React-JS application for the UnterkunftModule. The application has to offer the following views for the user interface: 1. EigentuemerView 2. FerienanlageView 3. KlassifikationsOrganisationView 4. UnterkunftView 5. UnterkunftAusstattungView 6. ZusatzkostenView 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 EigentuemerView must contain the following fields: - name: Adresse type: STRING - name: KontaktEmail type: STRING - name: KontaktTelefon type: STRING - name: Name type: STRING An existing Eigentuemer entity should be loaded from the relative URL: "/UnterkunftService/eigentuemer/{id}" (HTTP-GET) If a new Eigentuemer entity has been created, the new entity should be posted to the relative URL: "/UnterkunftService/eigentuemer" (HTTP-POST) If an existing Eigentuemer entity has been updated, the modified entity should be sent to the relative URL: "/UnterkunftService/eigentuemer/{id}" (HTTP-PUT) If an existing Eigentuemer entity has to be deleted, the following relative URL should be called: "/UnterkunftService/eigentuemer/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Unterkunft columns: - column: Typ - column: Ferienanlage - column: HatPrivatenEingang - column: Ort - column: Flaeche - column: Eigentuemer - column: Vermittler - column: MaxPersonen - column: Name - column: IstTeilWohngebaeude - column: IstTeilFerienanlage - column: Beschreibung The table should have the title "Unterkunfts" und the data must be loaded from the server with the following relative URL: "/UnterkunftService/unterkunft/eigentuemer/{id}" 2. The FerienanlageView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING - name: Ort type: STRING An existing Ferienanlage entity should be loaded from the relative URL: "/UnterkunftService/ferienanlage/{id}" (HTTP-GET) If a new Ferienanlage entity has been created, the new entity should be posted to the relative URL: "/UnterkunftService/ferienanlage" (HTTP-POST) If an existing Ferienanlage entity has been updated, the modified entity should be sent to the relative URL: "/UnterkunftService/ferienanlage/{id}" (HTTP-PUT) If an existing Ferienanlage entity has to be deleted, the following relative URL should be called: "/UnterkunftService/ferienanlage/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Unterkunft columns: - column: Typ - column: Ferienanlage - column: HatPrivatenEingang - column: Ort - column: Flaeche - column: Eigentuemer - column: Vermittler - column: MaxPersonen - column: Name - column: IstTeilWohngebaeude - column: IstTeilFerienanlage - column: Beschreibung The table should have the title "Unterkunfts" und the data must be loaded from the server with the following relative URL: "/UnterkunftService/unterkunft/ferienanlage/{id}" 3. The KlassifikationsOrganisationView must contain the following fields: - name: Land type: STRING - name: Name type: STRING - name: Webseite type: STRING An existing KlassifikationsOrganisation entity should be loaded from the relative URL: "/UnterkunftService/klassifikationsorganisation/{id}" (HTTP-GET) If a new KlassifikationsOrganisation entity has been created, the new entity should be posted to the relative URL: "/UnterkunftService/klassifikationsorganisation" (HTTP-POST) If an existing KlassifikationsOrganisation entity has been updated, the modified entity should be sent to the relative URL: "/UnterkunftService/klassifikationsorganisation/{id}" (HTTP-PUT) If an existing KlassifikationsOrganisation entity has to be deleted, the following relative URL should be called: "/UnterkunftService/klassifikationsorganisation/{id}" (HTTP-DELETE) 4. The UnterkunftView must contain the following fields: - name: Beschreibung type: STRING - name: Eigentuemer type: Eigentuemer - name: Ferienanlage type: Ferienanlage - name: Flaeche type: STRING - name: HatPrivatenEingang type: BOOL - name: IstTeilFerienanlage type: BOOL - name: IstTeilWohngebaeude type: BOOL - name: MaxPersonen type: LONG - name: Name type: STRING - name: Ort type: STRING - name: Typ type: STRING - name: Vermittler type: Vermittler The data source for the [Eigentuemer] select control should be loaded from the relative URL: "/UnterkunftService/eigentuemer" (HTTP-GET) The data source for the [Ferienanlage] select control should be loaded from the relative URL: "/UnterkunftService/ferienanlage" (HTTP-GET) The data source for the [Vermittler] select control should be loaded from the relative URL: "/VermittlerService/vermittler" (HTTP-GET) An existing Unterkunft entity should be loaded from the relative URL: "/UnterkunftService/unterkunft/{id}" (HTTP-GET) If a new Unterkunft entity has been created, the new entity should be posted to the relative URL: "/UnterkunftService/unterkunft" (HTTP-POST) If an existing Unterkunft entity has been updated, the modified entity should be sent to the relative URL: "/UnterkunftService/unterkunft/{id}" (HTTP-PUT) If an existing Unterkunft entity has to be deleted, the following relative URL should be called: "/UnterkunftService/unterkunft/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Buchung columns: - column: BuchungsDatum - column: Status - column: Unterkunft - column: Vermittler - column: Gesamtpreis - column: EndeDatum - column: BeginnDatum - column: Gast The table should have the title "Buchungs" und the data must be loaded from the server with the following relative URL: "/BuchungService/buchung/unterkunft/{id}" Add a HTML table to the view with the following VermittlerProvision columns: - column: Vermittler - column: Betrag - column: Einheit - column: Unterkunft - column: ProvisionsTyp The table should have the title "VermittlerProvisions" und the data must be loaded from the server with the following relative URL: "/VermittlerService/vermittlerprovision/unterkunft/{id}" Add a HTML table to the view with the following Rechtsbeschraenkung columns: - column: Beschreibung - column: RechtsQuelle - column: BeschraenkungsTyp - column: Unterkunft - column: GueltigBis - column: GueltigAb The table should have the title "Rechtsbeschraenkungs" und the data must be loaded from the server with the following relative URL: "/VermittlerService/rechtsbeschraenkung/unterkunft/{id}" Add a HTML table to the view with the following Foto columns: - column: Url - column: Unterkunft - column: Titel The table should have the title "Fotos" und the data must be loaded from the server with the following relative URL: "/SteuerregelService/foto/unterkunft/{id}" Add a HTML table to the view with the following Zusatzkosten columns: - column: Unterkunft - column: Name - column: Betrag - column: Einheit The table should have the title "Zusatzkostens" und the data must be loaded from the server with the following relative URL: "/UnterkunftService/zusatzkosten/unterkunft/{id}" Add a HTML table to the view with the following Raum columns: - column: Unterkunft - column: Beschreibung - column: Typ - column: Etage The table should have the title "Raums" und the data must be loaded from the server with the following relative URL: "/SteuerregelService/raum/unterkunft/{id}" Add a HTML table to the view with the following UnterkunftSteuerregel columns: - column: Steuerregel - column: Unterkunft The table should have the title "UnterkunftSteuerregels" und the data must be loaded from the server with the following relative URL: "/SteuerregelService/unterkunftsteuerregel/unterkunft/{id}" Add a HTML table to the view with the following UnterkunftAusstattung columns: - column: Ausstattung - column: Unterkunft The table should have the title "UnterkunftAusstattungs" und the data must be loaded from the server with the following relative URL: "/UnterkunftService/unterkunftausstattung/unterkunft/{id}" Add a HTML table to the view with the following Preis columns: - column: GueltigBis - column: InklusiveEndreinigung - column: PreisProWoche - column: PreisProPerson - column: InklusiveStrom - column: Unterkunft - column: PreisProNacht - column: GueltigAb The table should have the title "Preiss" und the data must be loaded from the server with the following relative URL: "/BuchungService/preis/unterkunft/{id}" Add a HTML table to the view with the following Klassifikation columns: - column: Organisation - column: Sterne - column: GueltigAb - column: GueltigBis - column: Unterkunft - column: Notizen The table should have the title "Klassifikations" und the data must be loaded from the server with the following relative URL: "/SteuerregelService/klassifikation/unterkunft/{id}" 5. The UnterkunftAusstattungView must contain the following fields: - name: Ausstattung type: Ausstattung - name: Unterkunft type: Unterkunft The data source for the [Unterkunft] select control should be loaded from the relative URL: "/UnterkunftService/unterkunft" (HTTP-GET) The data source for the [Ausstattung] select control should be loaded from the relative URL: "/VermittlerService/ausstattung" (HTTP-GET) An existing UnterkunftAusstattung entity should be loaded from the relative URL: "/UnterkunftService/unterkunftausstattung/{id}" (HTTP-GET) If a new UnterkunftAusstattung entity has been created, the new entity should be posted to the relative URL: "/UnterkunftService/unterkunftausstattung" (HTTP-POST) If an existing UnterkunftAusstattung entity has been updated, the modified entity should be sent to the relative URL: "/UnterkunftService/unterkunftausstattung/{id}" (HTTP-PUT) If an existing UnterkunftAusstattung entity has to be deleted, the following relative URL should be called: "/UnterkunftService/unterkunftausstattung/{id}" (HTTP-DELETE) 6. The ZusatzkostenView must contain the following fields: - name: Betrag type: STRING - name: Einheit type: STRING - name: Name type: STRING - name: Unterkunft type: Unterkunft The data source for the [Unterkunft] select control should be loaded from the relative URL: "/UnterkunftService/unterkunft" (HTTP-GET) An existing Zusatzkosten entity should be loaded from the relative URL: "/UnterkunftService/zusatzkosten/{id}" (HTTP-GET) If a new Zusatzkosten entity has been created, the new entity should be posted to the relative URL: "/UnterkunftService/zusatzkosten" (HTTP-POST) If an existing Zusatzkosten entity has been updated, the modified entity should be sent to the relative URL: "/UnterkunftService/zusatzkosten/{id}" (HTTP-PUT) If an existing Zusatzkosten entity has to be deleted, the following relative URL should be called: "/UnterkunftService/zusatzkosten/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum