Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
TrainerView
Please create a React-JS view called "TrainerView" for the fields of the Trainer entity. The TrainerView must contain the following fields: - name: BeschaeftigungsArt type: STRING - name: EinstellungsDatum type: DATE - name: Email type: STRING - name: FitnessStudio type: FitnessStudio - name: IstFreiberufler type: BOOL - name: Nachname type: STRING - name: Telefon type: STRING - name: Vorname type: STRING The data source for the [FitnessStudio] select control should be loaded from the relative URL: "/FitnessStudioService/fitnessstudio" (HTTP-GET) An existing Trainer entity should be loaded from the relative URL: "/TrainerService/trainer/{id}" (HTTP-GET) If a new Trainer entity has been created, the new entity should be posted to the relative URL: "/TrainerService/trainer" (HTTP-POST) If an existing Trainer entity has been updated, the modified entity should be sent to the relative URL: "/TrainerService/trainer/{id}" (HTTP-PUT) If an existing Trainer entity has to be deleted, the following relative URL should be called: "/TrainerService/trainer/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Kurs columns: - column: Raum - column: KursTyp - column: Trainer - column: IstAktiv - column: IstNurFrauen - column: FitnessStudio - column: MaxTeilnehmer The table should have the title "Kurss" und the data must be loaded from the server with the following relative URL: "/FitnessStudioService/kurs/trainer/{id}" Add a HTML table to the view with the following TrainerQualifikation columns: - column: LaeuftAbAm - column: Titel - column: Trainer - column: ErworbenAm - column: Institut The table should have the title "TrainerQualifikations" und the data must be loaded from the server with the following relative URL: "/TrainerService/trainerqualifikation/trainer/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum