Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
BuchungView
Please create a React-JS view called "BuchungView" for the fields of the Buchung entity. The BuchungView must contain the following fields: - name: AbreiseDatum type: DATE - name: AnreiseDatum type: DATE - name: AntwortGastgeber type: STRING - name: BuchungsQuelle type: STRING - name: BuchungsZeitpunkt type: DATE - name: ErwachseneAnzahl type: LONG - name: Gast type: Gast - name: GesamtPreis type: STRING - name: HaustiereAnzahl type: LONG - name: KinderAnzahl type: LONG - name: NachrichtAnGastgeber type: STRING - name: Status type: STRING - name: StornierungsDatum type: DATE - name: StornierungsGebuehr type: STRING - name: Unterkunft type: Unterkunft - name: Waehrung 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 [Gast] select control should be loaded from the relative URL: "/GastService/gast" (HTTP-GET) An existing Buchung entity should be loaded from the relative URL: "/BuchungService/buchung/{id}" (HTTP-GET) If a new Buchung entity has been created, the new entity should be posted to the relative URL: "/BuchungService/buchung" (HTTP-POST) If an existing Buchung entity has been updated, the modified entity should be sent to the relative URL: "/BuchungService/buchung/{id}" (HTTP-PUT) If an existing Buchung entity has to be deleted, the following relative URL should be called: "/BuchungService/buchung/{id}" (HTTP-DELETE) 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/buchung/{id}" Add a HTML table to the view with the following Zahlung columns: - column: Buchung - column: ZahlungsStatus - column: Betrag - column: Waehrung - column: ZahlungsDatum - column: TransaktionsReferenz - column: Zahlungsart - column: Erstellzeitpunkt The table should have the title "Zahlungs" und the data must be loaded from the server with the following relative URL: "/BuchungService/zahlung/buchung/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum