View Javadoc
1   /**
2    * Copyright By Grandsoft Company Limited.  
3    * 2012-12-30 上午08:46:02
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   * @author lysming
19   * @since jdk1.6
20   * @date 2012-12-30
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  }