Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
MitgliedApp
Please create a React-JS application for the MitgliedModule. The application has to offer the following views for the user interface: 1. BereichView 2. BranchenStatistikJahrView 3. GeraeteTypView 4. MitgliedView 5. ZahlungView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 5 views are defined below. 1. The BereichView must contain the following fields: - name: BereichsTyp type: STRING - name: FitnessStudio type: FitnessStudio - name: Name type: STRING The data source for the [FitnessStudio] select control should be loaded from the relative URL: "/FitnessStudioService/fitnessstudio" (HTTP-GET) An existing Bereich entity should be loaded from the relative URL: "/MitgliedService/bereich/{id}" (HTTP-GET) If a new Bereich entity has been created, the new entity should be posted to the relative URL: "/MitgliedService/bereich" (HTTP-POST) If an existing Bereich entity has been updated, the modified entity should be sent to the relative URL: "/MitgliedService/bereich/{id}" (HTTP-PUT) If an existing Bereich entity has to be deleted, the following relative URL should be called: "/MitgliedService/bereich/{id}" (HTTP-DELETE) 2. The BranchenStatistikJahrView must contain the following fields: - name: AnzahlMitarbeiter type: LONG - name: AnzahlMitglieder type: LONG - name: AnzahlUnternehmen type: LONG - name: Jahr type: LONG - name: Land type: STRING - name: UmsatzNetto type: STRING An existing BranchenStatistikJahr entity should be loaded from the relative URL: "/MitgliedService/branchenstatistikjahr/{id}" (HTTP-GET) If a new BranchenStatistikJahr entity has been created, the new entity should be posted to the relative URL: "/MitgliedService/branchenstatistikjahr" (HTTP-POST) If an existing BranchenStatistikJahr entity has been updated, the modified entity should be sent to the relative URL: "/MitgliedService/branchenstatistikjahr/{id}" (HTTP-PUT) If an existing BranchenStatistikJahr entity has to be deleted, the following relative URL should be called: "/MitgliedService/branchenstatistikjahr/{id}" (HTTP-DELETE) 3. The GeraeteTypView must contain the following fields: - name: Hersteller type: STRING - name: IstCardio type: BOOL - name: Kategorie type: STRING - name: Name type: STRING - name: ZielMuskelGruppe type: STRING An existing GeraeteTyp entity should be loaded from the relative URL: "/MitgliedService/geraetetyp/{id}" (HTTP-GET) If a new GeraeteTyp entity has been created, the new entity should be posted to the relative URL: "/MitgliedService/geraetetyp" (HTTP-POST) If an existing GeraeteTyp entity has been updated, the modified entity should be sent to the relative URL: "/MitgliedService/geraetetyp/{id}" (HTTP-PUT) If an existing GeraeteTyp entity has to be deleted, the following relative URL should be called: "/MitgliedService/geraetetyp/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Geraet columns: - column: SerienNummer - column: IstAktiv - column: StandortBeschreibung - column: FitnessStudio - column: KaufDatum - column: GeraeteTyp The table should have the title "Geraets" und the data must be loaded from the server with the following relative URL: "/FitnessStudioService/geraet/geraetetyp/{id}" 4. The MitgliedView must contain the following fields: - name: Email type: STRING - name: Geburtsdatum type: DATE - name: Geschlecht type: STRING - name: HeimStudio type: FitnessStudio - name: Land type: STRING - name: Nachname type: STRING - name: Postleitzahl type: STRING - name: Registrierungsdatum type: DATE - name: Stadt type: STRING - name: Status type: STRING - name: Strasse type: STRING - name: Telefon type: STRING - name: Vorname type: STRING The data source for the [HeimStudio] select control should be loaded from the relative URL: "/FitnessStudioService/fitnessstudio" (HTTP-GET) An existing Mitglied entity should be loaded from the relative URL: "/MitgliedService/mitglied/{id}" (HTTP-GET) If a new Mitglied entity has been created, the new entity should be posted to the relative URL: "/MitgliedService/mitglied" (HTTP-POST) If an existing Mitglied entity has been updated, the modified entity should be sent to the relative URL: "/MitgliedService/mitglied/{id}" (HTTP-PUT) If an existing Mitglied entity has to be deleted, the following relative URL should be called: "/MitgliedService/mitglied/{id}" (HTTP-DELETE) Add a HTML table to the view with the following MitgliedschaftsVertrag columns: - column: StartDatum - column: ZahlungsMethode - column: EndDatum - column: UnterzeichnetAm - column: Mitglied - column: FitnessStudio - column: MitgliedschaftsTyp - column: KuendigungsDatum - column: VertragsStatus The table should have the title "MitgliedschaftsVertrags" und the data must be loaded from the server with the following relative URL: "/FitnessStudioService/mitgliedschaftsvertrag/mitglied/{id}" Add a HTML table to the view with the following ServiceTermin columns: - column: Notizen - column: EndZeit - column: Mitglied - column: ServiceTyp - column: Mitarbeiter - column: Status - column: FitnessStudio - column: StartZeit The table should have the title "ServiceTermins" und the data must be loaded from the server with the following relative URL: "/FranchiseSystemService/servicetermin/mitglied/{id}" Add a HTML table to the view with the following Zahlung columns: - column: Mitglied - column: Betrag - column: FitnessStudio - column: ZeitraumEnde - column: IstErfolgreich - column: Waehrung - column: MitgliedschaftsVertrag - column: ZahlungsDatum - column: ExterneReferenz - column: ZahlungsTyp - column: ZeitraumStart The table should have the title "Zahlungs" und the data must be loaded from the server with the following relative URL: "/MitgliedService/zahlung/mitglied/{id}" Add a HTML table to the view with the following KursBuchung columns: - column: KursEinheit - column: BuchungsZeit - column: CheckInZeit - column: Mitglied - column: Status The table should have the title "KursBuchungs" und the data must be loaded from the server with the following relative URL: "/KursTypService/kursbuchung/mitglied/{id}" 5. The ZahlungView must contain the following fields: - name: Betrag type: STRING - name: ExterneReferenz type: STRING - name: FitnessStudio type: FitnessStudio - name: IstErfolgreich type: BOOL - name: Mitglied type: Mitglied - name: MitgliedschaftsVertrag type: MitgliedschaftsVertrag - name: Waehrung type: STRING - name: ZahlungsDatum type: DATE - name: ZahlungsTyp type: STRING - name: ZeitraumEnde type: DATE - name: ZeitraumStart type: DATE The data source for the [FitnessStudio] select control should be loaded from the relative URL: "/FitnessStudioService/fitnessstudio" (HTTP-GET) The data source for the [Mitglied] select control should be loaded from the relative URL: "/MitgliedService/mitglied" (HTTP-GET) The data source for the [MitgliedschaftsVertrag] select control should be loaded from the relative URL: "/FitnessStudioService/mitgliedschaftsvertrag" (HTTP-GET) An existing Zahlung entity should be loaded from the relative URL: "/MitgliedService/zahlung/{id}" (HTTP-GET) If a new Zahlung entity has been created, the new entity should be posted to the relative URL: "/MitgliedService/zahlung" (HTTP-POST) If an existing Zahlung entity has been updated, the modified entity should be sent to the relative URL: "/MitgliedService/zahlung/{id}" (HTTP-PUT) If an existing Zahlung entity has to be deleted, the following relative URL should be called: "/MitgliedService/zahlung/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum