-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathOrder.java
53 lines (40 loc) · 928 Bytes
/
Order.java
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
package sql;
import java.io.Serializable;
public class Order implements Serializable {
private String id;
private Long userId;
private Long goodId;
private Long count;
public Order() {
}
public Order(String id, Long userId, Long goodId, Long count) {
this.id = id;
this.userId = userId;
this.goodId = goodId;
this.count = count;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public Long getUserId() {
return userId;
}
public void setUserId(Long userId) {
this.userId = userId;
}
public Long getGoodId() {
return goodId;
}
public void setGoodId(Long goodId) {
this.goodId = goodId;
}
public Long getCount() {
return count;
}
public void setCount(Long count) {
this.count = count;
}
}