View Javadoc
1   /**
2    * Copyright (c) 2009-2010 by Glodon
3    * All rights reserved.
4    */
5   package gboat2.web.model;
6   
7   import java.io.Serializable;
8   
9   import javax.persistence.Column;
10  import javax.persistence.Entity;
11  import javax.persistence.GeneratedValue;
12  import javax.persistence.Id;
13  import javax.persistence.Table;
14  
15  import org.hibernate.annotations.GenericGenerator;
16  
17  
18  /**
19   * 
20   *widget权限配置po
21   * @author zhangxj-a
22   * @since jdk1.6
23   * @date 2013-3-15
24   *  
25   */
26  @Entity
27  @Table(name="G2_T_WIDGET_AUTH_CON")
28  public class WidgetAuthortyConfig implements Serializable{
29  	
30  	private String  wacId;
31  	
32  	private String systemId;
33  	
34  	private String roleId;
35  	
36  	private String widgetIds;
37  
38  	@Id
39  	@GenericGenerator(name = "generator", strategy = "uuid.hex")
40  	@GeneratedValue(generator = "generator")
41  	@Column(name = "WAC_ID", length = 40)
42  	public String getWacId() {
43  		return wacId;
44  	}
45  
46  	public void setWacId(String wacId) {
47  		this.wacId = wacId;
48  	}
49  
50  	@Column(name = "SYSTEM_ID", length = 40)
51  	public String getSystemId() {
52  		return systemId;
53  	}
54  
55  	public void setSystemId(String systemId) {
56  		this.systemId = systemId;
57  	}
58  
59  	@Column(name = "ROLE_ID", length = 40)
60  	public String getRoleId() {
61  		return roleId;
62  	}
63  
64  	public void setRoleId(String roleId) {
65  		this.roleId = roleId;
66  	}
67  
68  	@Column(name = "WIDGET_IDS", length = 3000)
69  	public String getWidgetIds() {
70  		return widgetIds;
71  	}
72  
73  	public void setWidgetIds(String widgetIds) {
74  		this.widgetIds = widgetIds;
75  	}
76  	
77  }