1
2
3
4
5 package gboat2.web.model;
6
7 import javax.persistence.Column;
8 import javax.persistence.Entity;
9 import javax.persistence.GeneratedValue;
10 import javax.persistence.Id;
11 import javax.persistence.Table;
12
13 import org.hibernate.annotations.GenericGenerator;
14
15
16
17
18
19
20
21
22
23 @Entity
24 @Table(name="G2_R_ROLE_NAVMODE")
25 public class RoleNavMode {
26
27
28 private String configId;
29
30
31 private String roleCode;
32
33
34 private String systemId;
35
36
37 private String navMode;
38
39 @Id
40 @GenericGenerator(name = "generator", strategy = "uuid.hex")
41 @GeneratedValue(generator = "generator")
42 @Column(name = "CONFIG_ID", length = 40)
43 public String getConfigId() {
44 return configId;
45 }
46
47 public void setConfigId(String configId) {
48 this.configId = configId;
49 }
50
51 @Column(name = "ROLE_CODE", length = 10)
52 public String getRoleCode() {
53 return roleCode;
54 }
55
56 public void setRoleCode(String roleCode) {
57 this.roleCode = roleCode;
58 }
59
60 @Column(name = "SYSTEM_ID", length = 40)
61 public String getSystemId() {
62 return systemId;
63 }
64
65 public void setSystemId(String systemId) {
66 this.systemId = systemId;
67 }
68
69 @Column(name = "NAV_MODE", length = 20)
70 public String getNavMode() {
71 return navMode;
72 }
73
74 public void setNavMode(String navMode) {
75 this.navMode = navMode;
76 }
77
78 }