See More

/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package data; /** * * @author thien */ public class ReviewDTO { private int id; private int product_id; private int rating; private String comment; public ReviewDTO(int id, int product_id, int rating, String comment) { this.product_id = product_id; this.rating = rating; this.comment = comment; } public int getId() { return id; } public void setId(int id) { this.id = id; } public int getProduct_id() { return product_id; } public void setProduct_id(int product_id) { this.product_id = product_id; } public int getRating() { return rating; } public void setRating(int rating) { this.rating = rating; } public String getComment() { return comment; } public void setComment(String comment) { this.comment = comment; } }