-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBanana.java
More file actions
67 lines (50 loc) · 1.14 KB
/
Copy pathBanana.java
File metadata and controls
67 lines (50 loc) · 1.14 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
57
58
59
60
61
62
63
64
65
66
67
/**
*
* Bestpay.com.cn Inc.
* Copyright (c) 2011-2019 All Rights Reserved.
*/
package ericzz.java8.base.pojo;
/**
*
* @author zz_huns
* @version Id: Banana.java, v 0.1 2019/2/7 12:57 PM zz_huns Exp $$
*/
public class Banana {
private String color;
private Integer weight;
private String country;
private Integer price;
public Banana(Integer weight) {
this.weight = weight;
}
public Banana() {
}
public Banana(String color, Integer weight) {
this.color = color;
this.weight = weight;
}
public String getColor() {
return color;
}
public void setColor(String color) {
this.color = color;
}
public Integer getWeight() {
return weight;
}
public void setWeight(Integer weight) {
this.weight = weight;
}
public String getCountry() {
return country;
}
public void setCountry(String country) {
this.country = country;
}
public Integer getPrice() {
return price;
}
public void setPrice(Integer price) {
this.price = price;
}
}