|
@@ -6,38 +6,46 @@ import java.io.Serializable;
|
6
|
6
|
@Entity
|
7
|
7
|
@Table(name = "wb_tbl_color")
|
8
|
8
|
public class Color implements Serializable {
|
|
9
|
+ public void setColorId(Integer colorId) {
|
|
10
|
+ this.colorId = colorId;
|
|
11
|
+ }
|
|
12
|
+
|
9
|
13
|
@Id
|
10
|
|
- @GeneratedValue(strategy = GenerationType.IDENTITY)
|
11
|
|
- private long color_id;
|
12
|
|
- public long getColor_id() {
|
13
|
|
- return color_id;
|
|
14
|
+ @GeneratedValue
|
|
15
|
+ @Column(name="color_id")
|
|
16
|
+ private Integer colorId;
|
|
17
|
+ public Integer getColorId() {
|
|
18
|
+ return colorId;
|
14
|
19
|
}
|
15
|
20
|
@Column(name="color_name")
|
16
|
|
- private String color_name;
|
17
|
|
- public String getColor_name() {
|
18
|
|
- return color_name;
|
|
21
|
+ private String colorName;
|
|
22
|
+ @Column(name = "color_status")
|
|
23
|
+ private String colorStatus;
|
|
24
|
+ @Column(name = "color_type")
|
|
25
|
+ private String colorType;
|
|
26
|
+ public String getColorName() {
|
|
27
|
+ return colorName;
|
19
|
28
|
}
|
20
|
29
|
|
21
|
|
- public String getColor_status() {
|
22
|
|
- return color_status;
|
|
30
|
+ public void setColorName(String colorName) {
|
|
31
|
+ this.colorName = colorName;
|
23
|
32
|
}
|
24
|
33
|
|
25
|
|
- public void setColor_status(String color_status) {
|
26
|
|
- this.color_status = color_status;
|
|
34
|
+ public String getColorStatus() {
|
|
35
|
+ return colorStatus;
|
27
|
36
|
}
|
28
|
|
- @Column(name = "color_status")
|
29
|
|
- private String color_status;
|
30
|
37
|
|
31
|
|
- public String getColor_type() {
|
32
|
|
- return color_type;
|
|
38
|
+ public void setColorStatus(String colorStatus) {
|
|
39
|
+ this.colorStatus = colorStatus;
|
33
|
40
|
}
|
34
|
41
|
|
35
|
|
- public void setColor_type(String color_type) {
|
36
|
|
- this.color_type = color_type;
|
|
42
|
+ public String getColorType() {
|
|
43
|
+ return colorType;
|
37
|
44
|
}
|
38
|
45
|
|
39
|
|
- @Column(name = "color_type")
|
40
|
|
- private String color_type;
|
|
46
|
+ public void setColorType(String colorType) {
|
|
47
|
+ this.colorType = colorType;
|
|
48
|
+ }
|
41
|
49
|
|
42
|
50
|
|
43
|
51
|
|