Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
CampingplatzApp
Please create a React-JS application for the CampingplatzModule. The application has to offer the following views for the user interface: 1. CampingplatzView 2. SaisonView 3. StellplatzPreisView 4. StellplatzVerfuegbarkeitView 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 CampingplatzView must contain the following fields: - name: AnzahlDauerstellplaetze type: LONG - name: AnzahlStellplaetze type: LONG - name: AnzahlTouristenplaetze type: LONG - name: Beschreibung type: STRING - name: Betreiber type: Betreiber - name: Email type: STRING - name: ErlaubtWildcampingAehnlich type: BOOL - name: Eroeffnungsdatum type: DATE - name: GanzjaehrigGeoeffnet type: BOOL - name: HatAnimationsprogramm type: BOOL - name: HatBoule type: BOOL - name: HatFitnessbereich type: BOOL - name: HatHallenbad type: BOOL - name: HatMinigolf type: BOOL - name: HatRestaurant type: BOOL - name: HatSchwimmbad type: BOOL - name: HatShop type: BOOL - name: HatSpielplatz type: BOOL - name: HatSwingolf type: BOOL - name: HatTrimmDichPfad type: BOOL - name: HatWasserspielbereich type: BOOL - name: IstFkkPlatz type: BOOL - name: IstUrbanCamping type: BOOL - name: Name type: STRING - name: NurMikroCamping type: BOOL - name: Platztyp type: Platztyp - name: Schliessungsdatum type: DATE - name: Standort type: Standort - name: Telefon type: STRING - name: WebsiteUrl type: STRING The data source for the [Platztyp] select control should be loaded from the relative URL: "/UnterkunftstypService/platztyp" (HTTP-GET) The data source for the [Standort] select control should be loaded from the relative URL: "/StandortService/standort" (HTTP-GET) The data source for the [Betreiber] select control should be loaded from the relative URL: "/AmenityKategorieService/betreiber" (HTTP-GET) An existing Campingplatz entity should be loaded from the relative URL: "/CampingplatzService/campingplatz/{id}" (HTTP-GET) If a new Campingplatz entity has been created, the new entity should be posted to the relative URL: "/CampingplatzService/campingplatz" (HTTP-POST) If an existing Campingplatz entity has been updated, the modified entity should be sent to the relative URL: "/CampingplatzService/campingplatz/{id}" (HTTP-PUT) If an existing Campingplatz entity has to be deleted, the following relative URL should be called: "/CampingplatzService/campingplatz/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Sanitaergebaeude columns: - column: IstHauptgebaeude - column: Renovierungsjahr - column: Name - column: Beschreibung - column: EntfernungRezeptionMeter - column: Campingplatz - column: Baujahr - column: HatBabyraum - column: Barrierefrei - column: Beheizt The table should have the title "Sanitaergebaeudes" und the data must be loaded from the server with the following relative URL: "/SanitaerartService/sanitaergebaeude/campingplatz/{id}" Add a HTML table to the view with the following Stellplatz columns: - column: Untergrund - column: IstWohnmobilstellplatz - column: HatStromanschluss - column: HatPrivateSanitaeranlage - column: NurZelt - column: HatAbwasseranschluss - column: HatWlan - column: Stellplatznummer - column: HatWasseranschluss - column: MaxPersonen - column: IstDauerstellplatz - column: Campingplatz - column: IstTouristenstellplatz - column: Beschreibung - column: HatTvAnschluss - column: Barrierefrei - column: MaxFahrzeuglaengeMeter The table should have the title "Stellplatzs" und the data must be loaded from the server with the following relative URL: "/StellplatzService/stellplatz/campingplatz/{id}" Add a HTML table to the view with the following Mietunterkunft columns: - column: Name - column: HatKueche - column: KapazitaetPersonen - column: Barrierefrei - column: Campingplatz - column: HatKlimaanlage - column: Beschreibung - column: HatHeizung - column: AnzahlEinheiten - column: HatBad - column: Unterkunftstyp The table should have the title "Mietunterkunfts" und the data must be loaded from the server with the following relative URL: "/UnterkunftstypService/mietunterkunft/campingplatz/{id}" Add a HTML table to the view with the following Saison columns: - column: Startdatum - column: Enddatum - column: Hauptsaison - column: Campingplatz - column: Name The table should have the title "Saisons" und the data must be loaded from the server with the following relative URL: "/CampingplatzService/saison/campingplatz/{id}" 2. The SaisonView must contain the following fields: - name: Campingplatz type: Campingplatz - name: Enddatum type: DATE - name: Hauptsaison type: BOOL - name: Name type: STRING - name: Startdatum type: DATE The data source for the [Campingplatz] select control should be loaded from the relative URL: "/CampingplatzService/campingplatz" (HTTP-GET) An existing Saison entity should be loaded from the relative URL: "/CampingplatzService/saison/{id}" (HTTP-GET) If a new Saison entity has been created, the new entity should be posted to the relative URL: "/CampingplatzService/saison" (HTTP-POST) If an existing Saison entity has been updated, the modified entity should be sent to the relative URL: "/CampingplatzService/saison/{id}" (HTTP-PUT) If an existing Saison entity has to be deleted, the following relative URL should be called: "/CampingplatzService/saison/{id}" (HTTP-DELETE) Add a HTML table to the view with the following StellplatzPreis columns: - column: Saison - column: Stellplatz - column: AbwasserInklusive - column: StromInklusive - column: WasserInklusive - column: PreisProNacht - column: Gaestetyp - column: Waehrung - column: SanitaerInklusive The table should have the title "StellplatzPreiss" und the data must be loaded from the server with the following relative URL: "/CampingplatzService/stellplatzpreis/saison/{id}" Add a HTML table to the view with the following StellplatzVerfuegbarkeit columns: - column: Saison - column: ReduzierterService - column: Offen - column: Stellplatz - column: Hinweis The table should have the title "StellplatzVerfuegbarkeits" und the data must be loaded from the server with the following relative URL: "/CampingplatzService/stellplatzverfuegbarkeit/saison/{id}" 3. The StellplatzPreisView must contain the following fields: - name: AbwasserInklusive type: BOOL - name: Gaestetyp type: Gaestetyp - name: PreisProNacht type: DOUBLE - name: Saison type: Saison - name: SanitaerInklusive type: BOOL - name: Stellplatz type: Stellplatz - name: StromInklusive type: BOOL - name: Waehrung type: STRING - name: WasserInklusive type: BOOL The data source for the [Gaestetyp] select control should be loaded from the relative URL: "/SanitaerartService/gaestetyp" (HTTP-GET) The data source for the [Stellplatz] select control should be loaded from the relative URL: "/StellplatzService/stellplatz" (HTTP-GET) The data source for the [Saison] select control should be loaded from the relative URL: "/CampingplatzService/saison" (HTTP-GET) An existing StellplatzPreis entity should be loaded from the relative URL: "/CampingplatzService/stellplatzpreis/{id}" (HTTP-GET) If a new StellplatzPreis entity has been created, the new entity should be posted to the relative URL: "/CampingplatzService/stellplatzpreis" (HTTP-POST) If an existing StellplatzPreis entity has been updated, the modified entity should be sent to the relative URL: "/CampingplatzService/stellplatzpreis/{id}" (HTTP-PUT) If an existing StellplatzPreis entity has to be deleted, the following relative URL should be called: "/CampingplatzService/stellplatzpreis/{id}" (HTTP-DELETE) 4. The StellplatzVerfuegbarkeitView must contain the following fields: - name: Hinweis type: STRING - name: Offen type: BOOL - name: ReduzierterService type: BOOL - name: Saison type: Saison - name: Stellplatz type: Stellplatz The data source for the [Stellplatz] select control should be loaded from the relative URL: "/StellplatzService/stellplatz" (HTTP-GET) The data source for the [Saison] select control should be loaded from the relative URL: "/CampingplatzService/saison" (HTTP-GET) An existing StellplatzVerfuegbarkeit entity should be loaded from the relative URL: "/CampingplatzService/stellplatzverfuegbarkeit/{id}" (HTTP-GET) If a new StellplatzVerfuegbarkeit entity has been created, the new entity should be posted to the relative URL: "/CampingplatzService/stellplatzverfuegbarkeit" (HTTP-POST) If an existing StellplatzVerfuegbarkeit entity has been updated, the modified entity should be sent to the relative URL: "/CampingplatzService/stellplatzverfuegbarkeit/{id}" (HTTP-PUT) If an existing StellplatzVerfuegbarkeit entity has to be deleted, the following relative URL should be called: "/CampingplatzService/stellplatzverfuegbarkeit/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum