-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathReviewDTO.java
More file actions
56 lines (45 loc) · 1.07 KB
/
Copy pathReviewDTO.java
File metadata and controls
56 lines (45 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/*
* 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;
}
}