Overview
Summary
Contact
Donate
Imprint
Prompt for the
CompanyView
Please create a React-JS view called "CompanyView" for the fields of the Company entity. The CompanyView must contain the following fields: - name: CompanyType type: STRING - name: DefunctDate type: DATE - name: Description type: STRING - name: FoundedDate type: DATE - name: Industry type: STRING - name: Name type: STRING - name: ParentCompany type: INT - name: Website type: STRING An existing Company entity should be loaded from the relative URL: "/CompanyService/company/{id}" (HTTP-GET) If a new Company entity has been created, the new entity should be posted to the relative URL: "/CompanyService/company" (HTTP-POST) If an existing Company entity has been updated, the modified entity should be sent to the relative URL: "/CompanyService/company/{id}" (HTTP-PUT) If an existing Company entity has to be deleted, the following relative URL should be called: "/CompanyService/company/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Patent columns: - column: Title - column: GrantDate - column: AssigneeCompany - column: Url - column: FilingDate - column: PatentNumber The table should have the title "Patents" und the data must be loaded from the server with the following relative URL: "/CompanyService/patent/assigneecompany/{id}" Add a HTML table to the view with the following Project columns: - column: Company - column: Name - column: EndDate - column: Description - column: StartDate The table should have the title "Projects" und the data must be loaded from the server with the following relative URL: "/ProjectService/project/company/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint