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: "/FitnessStudioService/trainer/{id}" (HTTP-GET) If a new Trainer entity has been created, the new entity should be posted to the relative URL: "/FitnessStudioService/trainer" (HTTP-POST) If an existing Trainer entity has been updated, the modified entity should be sent to the relative URL: "/FitnessStudioService/trainer/{id}" (HTTP-PUT) If an existing Trainer entity has to be deleted, the following relative URL should be called: "/FitnessStudioService/trainer/{id}" (HTTP-DELETE) Add a HTML table to the view with the following TrainerQualifikation columns: - column: Institut - column: Trainer - column: ErworbenAm - column: LaeuftAbAm - column: Titel The table should have the title "TrainerQualifikations" und the data must be loaded from the server with the following relative URL: "/KursTypService/trainerqualifikation/trainer/{id}" Add a HTML table to the view with the following Kurs columns: - column: KursTyp - column: MaxTeilnehmer - column: IstAktiv - column: FitnessStudio - column: Raum - column: Trainer - column: IstNurFrauen The table should have the title "Kurss" und the data must be loaded from the server with the following relative URL: "/KursTypService/kurs/trainer/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum