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. AusstattungView 2. UnterkunftView 3. UnterkunftAdresseView 4. UnterkunftAusstattungView 5. UnterkunftThemaView 6. UnterkunftTypView 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 AusstattungView must contain the following fields: - name: Aktiv type: BOOL - name: Beschreibung type: STRING - name: Code type: STRING - name: Erstellzeitpunkt type: DATE - name: Kategorie type: STRING - name: Name type: STRING An existing Ausstattung entity should be loaded from the relative URL: "/UnterkunftService/ausstattung/{id}" (HTTP-GET) If a new Ausstattung entity has been created, the new entity should be posted to the relative URL: "/UnterkunftService/ausstattung" (HTTP-POST) If an existing Ausstattung entity has been updated, the modified entity should be sent to the relative URL: "/UnterkunftService/ausstattung/{id}" (HTTP-PUT) If an existing Ausstattung entity has to be deleted, the following relative URL should be called: "/UnterkunftService/ausstattung/{id}" (HTTP-DELETE) Add a HTML table to the view with the following UnterkunftAusstattung columns: - column: WertZahl - column: Unterkunft - column: Ausstattung - column: Erstellzeitpunkt - column: WertText The table should have the title "UnterkunftAusstattungs" und the data must be loaded from the server with the following relative URL: "/UnterkunftService/unterkunftausstattung/ausstattung/{id}" Add a HTML table to the view with the following SuchfilterAusstattung columns: - column: Ausstattung - column: Erstellzeitpunkt - column: Suchanfrage The table should have the title "SuchfilterAusstattungs" und the data must be loaded from the server with the following relative URL: "/EntfernungspunktService/suchfilterausstattung/ausstattung/{id}" 2. The UnterkunftView must contain the following fields: - name: Aktiv type: BOOL - name: AnreiseTagEinschraenkung type: STRING - name: BadezimmerAnzahl type: LONG - name: Barrierefrei type: BOOL - name: EntfernungMeerMeter type: LONG - name: EntfernungSeeMeter type: LONG - name: EntfernungStadtzentrumMeter type: LONG - name: Erstellzeitpunkt type: DATE - name: Gastgeber type: Gastgeber - name: HaustiereErlaubt type: BOOL - name: InternetWlan type: BOOL - name: Kurzbeschreibung type: STRING - name: Langbeschreibung type: STRING - name: MaximalePersonen type: LONG - name: MindestAufenthaltNaechte type: LONG - name: OnlineBuchbar type: BOOL - name: Ort type: Ort - name: Parkplatz type: BOOL - name: RauchenErlaubt type: BOOL - name: SchlafzimmerAnzahl type: LONG - name: Titel type: STRING - name: UnterkunftKategorie type: UnterkunftKategorie - name: UnterkunftTyp type: UnterkunftTyp - name: WohnflaecheQm type: LONG The data source for the [Gastgeber] select control should be loaded from the relative URL: "/GastgeberService/gastgeber" (HTTP-GET) The data source for the [Ort] select control should be loaded from the relative URL: "/GastService/ort" (HTTP-GET) The data source for the [UnterkunftKategorie] select control should be loaded from the relative URL: "/UnterkunftKategorieService/unterkunftkategorie" (HTTP-GET) The data source for the [UnterkunftTyp] select control should be loaded from the relative URL: "/UnterkunftService/unterkunfttyp" (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 UnterkunftAdresse columns: - column: Strasse - column: Hausnummer - column: Zusatz - column: Unterkunft - column: OrtNameAnzeige - column: GeoBreite - column: Erstellzeitpunkt - column: GeoLaenge - column: Postleitzahl The table should have the title "UnterkunftAdresses" und the data must be loaded from the server with the following relative URL: "/UnterkunftService/unterkunftadresse/unterkunft/{id}" Add a HTML table to the view with the following UnterkunftFoto columns: - column: Erstellzeitpunkt - column: IstTitelbild - column: Titel - column: Beschreibung - column: Unterkunft - column: Reihenfolge - column: IstGrundriss - column: Url The table should have the title "UnterkunftFotos" und the data must be loaded from the server with the following relative URL: "/MerkzettelService/unterkunftfoto/unterkunft/{id}" Add a HTML table to the view with the following Verfuegbarkeit columns: - column: IstBelegt - column: LetzteAktualisierung - column: Unterkunft - column: Quelle - column: Datum The table should have the title "Verfuegbarkeits" und the data must be loaded from the server with the following relative URL: "/AngebotService/verfuegbarkeit/unterkunft/{id}" Add a HTML table to the view with the following Bewertung columns: - column: Titel - column: SterneGesamt - column: SterneAusstattung - column: Text - column: Buchung - column: Unterkunft - column: Erstellzeitpunkt - column: Freigeschaltet - column: SterneSauberkeit - column: SterneKommunikation - column: SterneLage - column: Gast The table should have the title "Bewertungs" und the data must be loaded from the server with the following relative URL: "/BuchungService/bewertung/unterkunft/{id}" Add a HTML table to the view with the following MerkzettelEintrag columns: - column: Merkzettel - column: HinzugefuegtAm - column: Unterkunft The table should have the title "MerkzettelEintrags" und the data must be loaded from the server with the following relative URL: "/MerkzettelService/merkzetteleintrag/unterkunft/{id}" Add a HTML table to the view with the following UnterkunftAusstattung columns: - column: WertZahl - column: Unterkunft - column: Ausstattung - column: Erstellzeitpunkt - column: WertText 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 UnterkunftThema columns: - column: ReiseThema - column: Erstellzeitpunkt - column: Unterkunft The table should have the title "UnterkunftThemas" und the data must be loaded from the server with the following relative URL: "/UnterkunftService/unterkunftthema/unterkunft/{id}" Add a HTML table to the view with the following Buchung columns: - column: KinderAnzahl - column: Gast - column: AnreiseDatum - column: AntwortGastgeber - column: Unterkunft - column: Waehrung - column: BuchungsQuelle - column: BuchungsZeitpunkt - column: StornierungsDatum - column: AbreiseDatum - column: StornierungsGebuehr - column: ErwachseneAnzahl - column: Status - column: GesamtPreis - column: NachrichtAnGastgeber - column: HaustiereAnzahl 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 UnterkunftEntfernung columns: - column: EntfernungMinutenZuFuss - column: Unterkunft - column: Entfernungspunkt - column: EntfernungMeter - column: Erstellzeitpunkt - column: EntfernungMinutenAuto The table should have the title "UnterkunftEntfernungs" und the data must be loaded from the server with the following relative URL: "/EntfernungspunktService/unterkunftentfernung/unterkunft/{id}" Add a HTML table to the view with the following Saison columns: - column: StartDatum - column: Unterkunft - column: Name - column: EndDatum - column: Beschreibung - column: Erstellzeitpunkt The table should have the title "Saisons" und the data must be loaded from the server with the following relative URL: "/UnterkunftKategorieService/saison/unterkunft/{id}" Add a HTML table to the view with the following AngebotUnterkunft columns: - column: Angebot - column: Erstellzeitpunkt - column: Unterkunft The table should have the title "AngebotUnterkunfts" und the data must be loaded from the server with the following relative URL: "/AngebotService/angebotunterkunft/unterkunft/{id}" Add a HTML table to the view with the following Preisregel columns: - column: PreisProWoche - column: Waehrung - column: PreisProNacht - column: MindestAufenthaltNaechte - column: GueltigBis - column: Saison - column: Erstellzeitpunkt - column: ZusatzPersonProNacht - column: Kaution - column: Unterkunft - column: MaximalAufenthaltNaechte - column: GueltigAb - column: Endreinigung The table should have the title "Preisregels" und the data must be loaded from the server with the following relative URL: "/UnterkunftKategorieService/preisregel/unterkunft/{id}" 3. The UnterkunftAdresseView must contain the following fields: - name: Erstellzeitpunkt type: DATE - name: GeoBreite type: STRING - name: GeoLaenge type: STRING - name: Hausnummer type: STRING - name: OrtNameAnzeige type: STRING - name: Postleitzahl type: STRING - name: Strasse type: STRING - name: Unterkunft type: Unterkunft - name: Zusatz type: STRING The data source for the [Unterkunft] select control should be loaded from the relative URL: "/UnterkunftService/unterkunft" (HTTP-GET) An existing UnterkunftAdresse entity should be loaded from the relative URL: "/UnterkunftService/unterkunftadresse/{id}" (HTTP-GET) If a new UnterkunftAdresse entity has been created, the new entity should be posted to the relative URL: "/UnterkunftService/unterkunftadresse" (HTTP-POST) If an existing UnterkunftAdresse entity has been updated, the modified entity should be sent to the relative URL: "/UnterkunftService/unterkunftadresse/{id}" (HTTP-PUT) If an existing UnterkunftAdresse entity has to be deleted, the following relative URL should be called: "/UnterkunftService/unterkunftadresse/{id}" (HTTP-DELETE) 4. The UnterkunftAusstattungView must contain the following fields: - name: Ausstattung type: Ausstattung - name: Erstellzeitpunkt type: DATE - name: Unterkunft type: Unterkunft - name: WertText type: STRING - name: WertZahl type: STRING 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: "/UnterkunftService/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) 5. The UnterkunftThemaView must contain the following fields: - name: Erstellzeitpunkt type: DATE - name: ReiseThema type: ReiseThema - 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 [ReiseThema] select control should be loaded from the relative URL: "/GastgeberService/reisethema" (HTTP-GET) An existing UnterkunftThema entity should be loaded from the relative URL: "/UnterkunftService/unterkunftthema/{id}" (HTTP-GET) If a new UnterkunftThema entity has been created, the new entity should be posted to the relative URL: "/UnterkunftService/unterkunftthema" (HTTP-POST) If an existing UnterkunftThema entity has been updated, the modified entity should be sent to the relative URL: "/UnterkunftService/unterkunftthema/{id}" (HTTP-PUT) If an existing UnterkunftThema entity has to be deleted, the following relative URL should be called: "/UnterkunftService/unterkunftthema/{id}" (HTTP-DELETE) 6. The UnterkunftTypView must contain the following fields: - name: Aktiv type: BOOL - name: Beschreibung type: STRING - name: Code type: STRING - name: Erstellzeitpunkt type: DATE - name: Name type: STRING An existing UnterkunftTyp entity should be loaded from the relative URL: "/UnterkunftService/unterkunfttyp/{id}" (HTTP-GET) If a new UnterkunftTyp entity has been created, the new entity should be posted to the relative URL: "/UnterkunftService/unterkunfttyp" (HTTP-POST) If an existing UnterkunftTyp entity has been updated, the modified entity should be sent to the relative URL: "/UnterkunftService/unterkunfttyp/{id}" (HTTP-PUT) If an existing UnterkunftTyp entity has to be deleted, the following relative URL should be called: "/UnterkunftService/unterkunfttyp/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Unterkunft columns: - column: OnlineBuchbar - column: EntfernungSeeMeter - column: Erstellzeitpunkt - column: Aktiv - column: BadezimmerAnzahl - column: HaustiereErlaubt - column: MaximalePersonen - column: Langbeschreibung - column: Parkplatz - column: UnterkunftKategorie - column: Titel - column: InternetWlan - column: Ort - column: WohnflaecheQm - column: EntfernungMeerMeter - column: UnterkunftTyp - column: AnreiseTagEinschraenkung - column: Kurzbeschreibung - column: SchlafzimmerAnzahl - column: MindestAufenthaltNaechte - column: EntfernungStadtzentrumMeter - column: Barrierefrei - column: RauchenErlaubt - column: Gastgeber The table should have the title "Unterkunfts" und the data must be loaded from the server with the following relative URL: "/UnterkunftService/unterkunft/unterkunfttyp/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum