Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
SaisonView
Please create a React-JS view called "SaisonView" for the fields of the Saison entity. 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}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum