Overview
Summary
Contact
Donate
Imprint
Prompt for the
LawsuitView
Please create a React-JS view called "LawsuitView" for the fields of the Lawsuit entity. The LawsuitView must contain the following fields: - name: AmountUsdMillions type: STRING - name: Company type: Company - name: Court type: STRING - name: FilingDate type: DATE - name: SettlementDate type: DATE - name: Status type: STRING - name: Summary type: STRING - name: Title type: STRING The data source for the [Company] select control should be loaded from the relative URL: "/CompanyService/company" (HTTP-GET) An existing Lawsuit entity should be loaded from the relative URL: "/PersonService/lawsuit/{id}" (HTTP-GET) If a new Lawsuit entity has been created, the new entity should be posted to the relative URL: "/PersonService/lawsuit" (HTTP-POST) If an existing Lawsuit entity has been updated, the modified entity should be sent to the relative URL: "/PersonService/lawsuit/{id}" (HTTP-PUT) If an existing Lawsuit entity has to be deleted, the following relative URL should be called: "/PersonService/lawsuit/{id}" (HTTP-DELETE) Add a HTML table to the view with the following LawsuitParty columns: - column: PartyCompany - column: PartyPerson - column: Lawsuit - column: Role The table should have the title "LawsuitPartys" und the data must be loaded from the server with the following relative URL: "/PersonService/lawsuitparty/lawsuit/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint