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. SanitaergebaeudeView 4. StandortView 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: INT - name: AnzahlStellplaetze type: INT - name: AnzahlTouristenplaetze type: INT - 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: "/CampingplatzService/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 Stellplatz columns: - column: IstTouristenstellplatz - column: MaxPersonen - column: Barrierefrei - column: HatWasseranschluss - column: Campingplatz - column: HatPrivateSanitaeranlage - column: HatStromanschluss - column: IstWohnmobilstellplatz - column: HatAbwasseranschluss - column: HatTvAnschluss - column: HatWlan - column: IstDauerstellplatz - column: Untergrund - column: Stellplatznummer - column: Beschreibung - column: NurZelt - 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 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}" Add a HTML table to the view with the following Sanitaergebaeude columns: - column: Baujahr - column: Name - column: Barrierefrei - column: IstHauptgebaeude - column: HatBabyraum - column: Beschreibung - column: Campingplatz - column: Renovierungsjahr - column: EntfernungRezeptionMeter - column: Beheizt The table should have the title "Sanitaergebaeudes" und the data must be loaded from the server with the following relative URL: "/CampingplatzService/sanitaergebaeude/campingplatz/{id}" Add a HTML table to the view with the following Mietunterkunft columns: - column: HatHeizung - column: Name - column: Campingplatz - column: Beschreibung - column: KapazitaetPersonen - column: HatKlimaanlage - column: HatBad - column: Unterkunftstyp - column: Barrierefrei - column: HatKueche - column: AnzahlEinheiten 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}" 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 StellplatzVerfuegbarkeit columns: - column: ReduzierterService - column: Saison - column: Hinweis - column: Stellplatz - column: Offen The table should have the title "StellplatzVerfuegbarkeits" und the data must be loaded from the server with the following relative URL: "/StellplatzService/stellplatzverfuegbarkeit/saison/{id}" Add a HTML table to the view with the following StellplatzPreis columns: - column: Waehrung - column: Gaestetyp - column: AbwasserInklusive - column: Saison - column: PreisProNacht - column: WasserInklusive - column: StromInklusive - column: Stellplatz - column: SanitaerInklusive The table should have the title "StellplatzPreiss" und the data must be loaded from the server with the following relative URL: "/GaestetypService/stellplatzpreis/saison/{id}" 3. The SanitaergebaeudeView must contain the following fields: - name: Barrierefrei type: BOOL - name: Baujahr type: INT - name: Beheizt type: BOOL - name: Beschreibung type: STRING - name: Campingplatz type: Campingplatz - name: EntfernungRezeptionMeter type: DOUBLE - name: HatBabyraum type: BOOL - name: IstHauptgebaeude type: BOOL - name: Name type: STRING - name: Renovierungsjahr type: INT The data source for the [Campingplatz] select control should be loaded from the relative URL: "/CampingplatzService/campingplatz" (HTTP-GET) An existing Sanitaergebaeude entity should be loaded from the relative URL: "/CampingplatzService/sanitaergebaeude/{id}" (HTTP-GET) If a new Sanitaergebaeude entity has been created, the new entity should be posted to the relative URL: "/CampingplatzService/sanitaergebaeude" (HTTP-POST) If an existing Sanitaergebaeude entity has been updated, the modified entity should be sent to the relative URL: "/CampingplatzService/sanitaergebaeude/{id}" (HTTP-PUT) If an existing Sanitaergebaeude entity has to be deleted, the following relative URL should be called: "/CampingplatzService/sanitaergebaeude/{id}" (HTTP-DELETE) Add a HTML table to the view with the following SanitaergebaeudeAusstattung columns: - column: Sanitaergebaeude - column: Kostenbeschreibung - column: Sanitaerart - column: TemperaturRegelbar - column: AnzahlUnisex - column: AnzahlGesamt - column: Tokensystem - column: HatWarmwasser - column: InNebensaisonVerfuegbar - column: AnzahlDamen - column: AnzahlHerren - column: Kostenpflichtig The table should have the title "SanitaergebaeudeAusstattungs" und the data must be loaded from the server with the following relative URL: "/SanitaerartService/sanitaergebaeudeausstattung/sanitaergebaeude/{id}" 4. The StandortView must contain the following fields: - name: Breitengrad type: DOUBLE - name: Bundesland type: STRING - name: Gemeinde type: STRING - name: Hausnummer type: STRING - name: HoeheMeter type: DOUBLE - name: Kreis type: STRING - name: Laengengrad type: DOUBLE - name: Land type: STRING - name: Ort type: STRING - name: Postleitzahl type: STRING - name: Region type: STRING - name: Strasse type: STRING An existing Standort entity should be loaded from the relative URL: "/CampingplatzService/standort/{id}" (HTTP-GET) If a new Standort entity has been created, the new entity should be posted to the relative URL: "/CampingplatzService/standort" (HTTP-POST) If an existing Standort entity has been updated, the modified entity should be sent to the relative URL: "/CampingplatzService/standort/{id}" (HTTP-PUT) If an existing Standort entity has to be deleted, the following relative URL should be called: "/CampingplatzService/standort/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Campingplatz columns: - column: HatHallenbad - column: AnzahlDauerstellplaetze - column: Standort - column: IstFkkPlatz - column: Telefon - column: HatBoule - column: AnzahlStellplaetze - column: HatTrimmDichPfad - column: Email - column: Eroeffnungsdatum - column: NurMikroCamping - column: Name - column: HatSchwimmbad - column: WebsiteUrl - column: HatShop - column: Betreiber - column: HatFitnessbereich - column: Beschreibung - column: Platztyp - column: GanzjaehrigGeoeffnet - column: HatWasserspielbereich - column: Schliessungsdatum - column: AnzahlTouristenplaetze - column: IstUrbanCamping - column: HatSpielplatz - column: HatSwingolf - column: ErlaubtWildcampingAehnlich - column: HatMinigolf - column: HatAnimationsprogramm - column: HatRestaurant The table should have the title "Campingplatzs" und the data must be loaded from the server with the following relative URL: "/CampingplatzService/campingplatz/standort/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum