01: package app.data;
02:
03: import javax.persistence.Entity;
04: import javax.persistence.Id;
05: import javax.persistence.Table;
06:
07: /**
08: * Bug Status entity bean.
09: */
10: @Entity
11: @Table(name="b_bug_status")
12: public class BugStatus {
13:
14: @Id
15: String code;
16:
17: String title;
18:
19: /**
20: * Return code.
21: */
22: public String getCode() {
23: return code;
24: }
25:
26: /**
27: * Set code.
28: */
29: public void setCode(String code) {
30: this .code = code;
31: }
32:
33: /**
34: * Return title.
35: */
36: public String getTitle() {
37: return title;
38: }
39:
40: /**
41: * Set title.
42: */
43: public void setTitle(String title) {
44: this.title = title;
45: }
46:
47: }
|