Package com.dzidzi.dto.customerReview
Class ChangeCustomerReviewRequest
java.lang.Object
com.dzidzi.dto.customerReview.ChangeCustomerReviewRequest
ChangeCustomerReviewRequest represents the DTO request containing the objects used to update an existing review.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionChangeCustomerReviewRequest(UUID id, Integer rating, String comment) Creates a newChangeCustomerReviewRequestinstance. -
Method Summary
-
Constructor Details
-
ChangeCustomerReviewRequest
public ChangeCustomerReviewRequest() -
ChangeCustomerReviewRequest
@ConstructorProperties({"id","rating","comment"}) public ChangeCustomerReviewRequest(UUID id, Integer rating, String comment) Creates a newChangeCustomerReviewRequestinstance.- Parameters:
id- The id of the reviewrating- The new rating for the restaurant/couriercomment- The new comment you'd like to add
-
-
Method Details
-
builder
-
getId
The id of the review -
getRating
The new rating for the restaurant/courier -
getComment
The new comment you'd like to add -
setId
The id of the review
-