Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
FranchiseSystemApp
Please create a React-JS application for the FranchiseSystemModule. The application has to offer the following views for the user interface: 1. FranchiseSystemView 2. MitarbeiterView 3. MitgliedschaftsTypView 4. ServiceTerminView 5. ServiceTypView 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 FranchiseSystemView must contain the following fields: - name: HauptsitzStadt type: STRING - name: Land type: STRING - name: Marke type: STRING - name: Name type: STRING - name: Webseite type: STRING An existing FranchiseSystem entity should be loaded from the relative URL: "/FranchiseSystemService/franchisesystem/{id}" (HTTP-GET) If a new FranchiseSystem entity has been created, the new entity should be posted to the relative URL: "/FranchiseSystemService/franchisesystem" (HTTP-POST) If an existing FranchiseSystem entity has been updated, the modified entity should be sent to the relative URL: "/FranchiseSystemService/franchisesystem/{id}" (HTTP-PUT) If an existing FranchiseSystem entity has to be deleted, the following relative URL should be called: "/FranchiseSystemService/franchisesystem/{id}" (HTTP-DELETE) Add a HTML table to the view with the following FitnessStudio columns: - column: SportVerein - column: Land - column: Ist24StundenGeoeffnet - column: IstMikrostudio - column: FranchiseSystem - column: Strasse - column: Oeffnungszeiten - column: StudioTyp - column: Stadt - column: Postleitzahl - column: FitnessKette - column: Name - column: GroesseQuadratmeter The table should have the title "FitnessStudios" und the data must be loaded from the server with the following relative URL: "/FitnessStudioService/fitnessstudio/franchisesystem/{id}" 2. The MitarbeiterView must contain the following fields: - name: Email type: STRING - name: FitnessStudio type: FitnessStudio - name: IstExtern type: BOOL - name: Nachname type: STRING - name: Rolle 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 Mitarbeiter entity should be loaded from the relative URL: "/FranchiseSystemService/mitarbeiter/{id}" (HTTP-GET) If a new Mitarbeiter entity has been created, the new entity should be posted to the relative URL: "/FranchiseSystemService/mitarbeiter" (HTTP-POST) If an existing Mitarbeiter entity has been updated, the modified entity should be sent to the relative URL: "/FranchiseSystemService/mitarbeiter/{id}" (HTTP-PUT) If an existing Mitarbeiter entity has to be deleted, the following relative URL should be called: "/FranchiseSystemService/mitarbeiter/{id}" (HTTP-DELETE) 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/mitarbeiter/{id}" 3. The MitgliedschaftsTypView must contain the following fields: - name: Beschreibung type: STRING - name: IstRabattModell type: BOOL - name: MindestLaufzeitMonate type: LONG - name: MonatsBeitrag type: STRING - name: Name type: STRING - name: ZugangsLevel type: STRING An existing MitgliedschaftsTyp entity should be loaded from the relative URL: "/FranchiseSystemService/mitgliedschaftstyp/{id}" (HTTP-GET) If a new MitgliedschaftsTyp entity has been created, the new entity should be posted to the relative URL: "/FranchiseSystemService/mitgliedschaftstyp" (HTTP-POST) If an existing MitgliedschaftsTyp entity has been updated, the modified entity should be sent to the relative URL: "/FranchiseSystemService/mitgliedschaftstyp/{id}" (HTTP-PUT) If an existing MitgliedschaftsTyp entity has to be deleted, the following relative URL should be called: "/FranchiseSystemService/mitgliedschaftstyp/{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/mitgliedschaftstyp/{id}" 4. The ServiceTerminView must contain the following fields: - name: EndZeit type: DATE - name: FitnessStudio type: FitnessStudio - name: Mitarbeiter type: Mitarbeiter - name: Mitglied type: Mitglied - name: Notizen type: STRING - name: ServiceTyp type: ServiceTyp - name: StartZeit type: DATE - name: Status type: STRING 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 [ServiceTyp] select control should be loaded from the relative URL: "/FranchiseSystemService/servicetyp" (HTTP-GET) The data source for the [Mitarbeiter] select control should be loaded from the relative URL: "/FranchiseSystemService/mitarbeiter" (HTTP-GET) An existing ServiceTermin entity should be loaded from the relative URL: "/FranchiseSystemService/servicetermin/{id}" (HTTP-GET) If a new ServiceTermin entity has been created, the new entity should be posted to the relative URL: "/FranchiseSystemService/servicetermin" (HTTP-POST) If an existing ServiceTermin entity has been updated, the modified entity should be sent to the relative URL: "/FranchiseSystemService/servicetermin/{id}" (HTTP-PUT) If an existing ServiceTermin entity has to be deleted, the following relative URL should be called: "/FranchiseSystemService/servicetermin/{id}" (HTTP-DELETE) 5. The ServiceTypView must contain the following fields: - name: Beschreibung type: STRING - name: ErfordertQualifikation type: BOOL - name: IstMedizinisch type: BOOL - name: Name type: STRING An existing ServiceTyp entity should be loaded from the relative URL: "/FranchiseSystemService/servicetyp/{id}" (HTTP-GET) If a new ServiceTyp entity has been created, the new entity should be posted to the relative URL: "/FranchiseSystemService/servicetyp" (HTTP-POST) If an existing ServiceTyp entity has been updated, the modified entity should be sent to the relative URL: "/FranchiseSystemService/servicetyp/{id}" (HTTP-PUT) If an existing ServiceTyp entity has to be deleted, the following relative URL should be called: "/FranchiseSystemService/servicetyp/{id}" (HTTP-DELETE) 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/servicetyp/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum