Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
UnterkunftKategorieApp
Please create a React-JS application for the UnterkunftKategorieModule. The application has to offer the following views for the user interface: 1. PreisregelView 2. SaisonView 3. UnterkunftKategorieView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 3 views are defined below. 1. The PreisregelView must contain the following fields: - name: Endreinigung type: STRING - name: Erstellzeitpunkt type: DATE - name: GueltigAb type: DATE - name: GueltigBis type: DATE - name: Kaution type: STRING - name: MaximalAufenthaltNaechte type: LONG - name: MindestAufenthaltNaechte type: LONG - name: PreisProNacht type: STRING - name: PreisProWoche type: STRING - name: Saison type: Saison - name: Unterkunft type: Unterkunft - name: Waehrung type: STRING - name: ZusatzPersonProNacht 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 [Saison] select control should be loaded from the relative URL: "/UnterkunftKategorieService/saison" (HTTP-GET) An existing Preisregel entity should be loaded from the relative URL: "/UnterkunftKategorieService/preisregel/{id}" (HTTP-GET) If a new Preisregel entity has been created, the new entity should be posted to the relative URL: "/UnterkunftKategorieService/preisregel" (HTTP-POST) If an existing Preisregel entity has been updated, the modified entity should be sent to the relative URL: "/UnterkunftKategorieService/preisregel/{id}" (HTTP-PUT) If an existing Preisregel entity has to be deleted, the following relative URL should be called: "/UnterkunftKategorieService/preisregel/{id}" (HTTP-DELETE) 2. The SaisonView must contain the following fields: - name: Beschreibung type: STRING - name: EndDatum type: DATE - name: Erstellzeitpunkt type: DATE - name: Name type: STRING - name: StartDatum type: DATE - 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 Saison entity should be loaded from the relative URL: "/UnterkunftKategorieService/saison/{id}" (HTTP-GET) If a new Saison entity has been created, the new entity should be posted to the relative URL: "/UnterkunftKategorieService/saison" (HTTP-POST) If an existing Saison entity has been updated, the modified entity should be sent to the relative URL: "/UnterkunftKategorieService/saison/{id}" (HTTP-PUT) If an existing Saison entity has to be deleted, the following relative URL should be called: "/UnterkunftKategorieService/saison/{id}" (HTTP-DELETE) 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/saison/{id}" 3. The UnterkunftKategorieView 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 UnterkunftKategorie entity should be loaded from the relative URL: "/UnterkunftKategorieService/unterkunftkategorie/{id}" (HTTP-GET) If a new UnterkunftKategorie entity has been created, the new entity should be posted to the relative URL: "/UnterkunftKategorieService/unterkunftkategorie" (HTTP-POST) If an existing UnterkunftKategorie entity has been updated, the modified entity should be sent to the relative URL: "/UnterkunftKategorieService/unterkunftkategorie/{id}" (HTTP-PUT) If an existing UnterkunftKategorie entity has to be deleted, the following relative URL should be called: "/UnterkunftKategorieService/unterkunftkategorie/{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/unterkunftkategorie/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum