01: package app.data;
02:
03: import javax.persistence.Entity;
04: import javax.persistence.Id;
05: import javax.persistence.Table;
06:
07: /**
08: * Bug Priority entity bean.
09: */
10: @Entity
11: @Table(name="b_bug_priority")
12: public class BugPriority {
13:
14: @Id
15: String code;
16:
17: String title;
18:
19: Integer sortOrder;
20:
21: /**
22: * Return code.
23: */
24: public String getCode() {
25: return code;
26: }
27:
28: /**
29: * Set code.
30: */
31: public void setCode(String code) {
32: this .code = code;
33: }
34:
35: /**
36: * Return title.
37: */
38: public String getTitle() {
39: return title;
40: }
41:
42: /**
43: * Set title.
44: */
45: public void setTitle(String title) {
46: this .title = title;
47: }
48:
49: /**
50: * Return sort order.
51: */
52: public Integer getSortOrder() {
53: return sortOrder;
54: }
55:
56: /**
57: * Set sort order.
58: */
59: public void setSortOrder(Integer sortOrder) {
60: this.sortOrder = sortOrder;
61: }
62:
63: }
|