Overview
Summary
Contact
Donate
Imprint
Prompt for the
PropertyView
Please create a React-JS view called "PropertyView" for the fields of the Property entity. The PropertyView must contain the following fields: - name: AddressLine1 type: STRING - name: AddressLine2 type: STRING - name: CheckInFrom type: STRING - name: CheckInTo type: STRING - name: CheckOutFrom type: STRING - name: CheckOutTo type: STRING - name: CreatedAt type: DATE - name: IsActive type: BOOL - name: Latitude type: STRING - name: LocationCity type: LocationCity - name: LocationCountry type: LocationCountry - name: LocationDistrict type: LocationDistrict - name: Longitude type: STRING - name: Name type: STRING - name: PartnerAccount type: PartnerAccount - name: PostalCode type: STRING - name: PropertyType type: PropertyType - name: StarRating type: STRING The data source for the [PartnerAccount] select control should be loaded from the relative URL: "/PartnerAccountService/partneraccount" (HTTP-GET) The data source for the [LocationCountry] select control should be loaded from the relative URL: "/LocationCityService/locationcountry" (HTTP-GET) The data source for the [LocationDistrict] select control should be loaded from the relative URL: "/PropertyService/locationdistrict" (HTTP-GET) The data source for the [LocationCity] select control should be loaded from the relative URL: "/LocationCityService/locationcity" (HTTP-GET) The data source for the [PropertyType] select control should be loaded from the relative URL: "/PropertyService/propertytype" (HTTP-GET) An existing Property entity should be loaded from the relative URL: "/PropertyService/property/{id}" (HTTP-GET) If a new Property entity has been created, the new entity should be posted to the relative URL: "/PropertyService/property" (HTTP-POST) If an existing Property entity has been updated, the modified entity should be sent to the relative URL: "/PropertyService/property/{id}" (HTTP-PUT) If an existing Property entity has to be deleted, the following relative URL should be called: "/PropertyService/property/{id}" (HTTP-DELETE) Add a HTML table to the view with the following PropertyPolicy columns: - column: CancellationPolicy - column: CheckOutPolicy - column: PetsPolicy - column: OtherPolicy - column: CheckInPolicy - column: Property - column: ChildrenPolicy The table should have the title "PropertyPolicys" und the data must be loaded from the server with the following relative URL: "/PropertyService/propertypolicy/property/{id}" Add a HTML table to the view with the following StayBooking columns: - column: Booking - column: CheckOutDate - column: RoomType - column: Adults - column: Children - column: SpecialRequests - column: NumberOfRooms - column: RoomRatePlan - column: CheckInDate - column: BaseAmount - column: Currency - column: CancellationPolicySnapshot - column: TaxesAmount - column: Property - column: FeesAmount The table should have the title "StayBookings" und the data must be loaded from the server with the following relative URL: "/StayBookingService/staybooking/property/{id}" Add a HTML table to the view with the following PropertyAmenity columns: - column: AdditionalInfo - column: Property - column: Amenity - column: IsFree The table should have the title "PropertyAmenitys" und the data must be loaded from the server with the following relative URL: "/PropertyService/propertyamenity/property/{id}" Add a HTML table to the view with the following Review columns: - column: Attraction - column: Text - column: UserAccount - column: Property - column: Booking - column: Language - column: OverallScore - column: AirportTransferProduct - column: CarRentalProduct - column: IsPublic - column: Title - column: CreatedAt The table should have the title "Reviews" und the data must be loaded from the server with the following relative URL: "/LanguageService/review/property/{id}" Add a HTML table to the view with the following RoomType columns: - column: MaxAdults - column: Property - column: SizeSquareMeters - column: RoomTypeCategory - column: BedConfiguration - column: MaxOccupancy - column: Description - column: Name - column: CreatedAt - column: MaxChildren The table should have the title "RoomTypes" und the data must be loaded from the server with the following relative URL: "/RoomTypeService/roomtype/property/{id}" Add a HTML table to the view with the following PropertyPhoto columns: - column: IsMain - column: Url - column: Caption - column: SortOrder - column: Property The table should have the title "PropertyPhotos" und the data must be loaded from the server with the following relative URL: "/AttractionBookingService/propertyphoto/property/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint