Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
MembershipTypeView
Please create a React-JS view called "MembershipTypeView" for the fields of the MembershipType entity. The MembershipTypeView must contain the following fields: - name: CreatedAt type: DATE - name: Description type: STRING - name: DurationMonths type: LONG - name: IsActive type: BOOL - name: MonthlyFee type: STRING - name: Name type: STRING An existing MembershipType entity should be loaded from the relative URL: "/MembershipTypeService/membershiptype/{id}" (HTTP-GET) If a new MembershipType entity has been created, the new entity should be posted to the relative URL: "/MembershipTypeService/membershiptype" (HTTP-POST) If an existing MembershipType entity has been updated, the modified entity should be sent to the relative URL: "/MembershipTypeService/membershiptype/{id}" (HTTP-PUT) If an existing MembershipType entity has to be deleted, the following relative URL should be called: "/MembershipTypeService/membershiptype/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Membership columns: - column: MembershipType - column: Status - column: CreatedAt - column: Customer - column: EndDate - column: AutoRenew - column: StartDate The table should have the title "Memberships" und the data must be loaded from the server with the following relative URL: "/CustomerService/membership/membershiptype/{id}" Add a HTML table to the view with the following PriceItem columns: - column: MembershipType - column: PriceList - column: Sport - column: CreatedAt - column: TimeFrom - column: PricePerHour - column: TimeTo - column: DayOfWeek - column: BookingType The table should have the title "PriceItems" und the data must be loaded from the server with the following relative URL: "/MembershipTypeService/priceitem/membershiptype/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum