Package com.esprit.models.products
Class Review
java.lang.Object
com.esprit.models.products.Review
The Review class represents a user's review of a product.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
id
-
client
-
rating
private int rating -
product
-
-
Constructor Details
-
Review
Constructor without id for creating new review instances.- Parameters:
client
- the client who gave the reviewrating
- the rating given by the clientproduct
- the product associated with the review
-