View Javadoc
1   /**
2    * Copyright (c) 2009-2010 by Glodon
3    * All rights reserved.
4    */
5   package gboat2.web.model;
6   
7   import gboat2.base.core.annotation.Field;
8   import gboat2.base.core.annotation.Relation;
9   import gboat2.base.core.annotation.RelationType;
10  import gboat2.base.core.annotation.Relations;
11  
12  
13  /**
14   * 
15   * widget权限配置vo
16   * @author zhangxj-a
17   * @since jdk1.6
18   * @date 2013-3-15
19   *  
20   */
21  @Relations(base = WidgetAuthortyConfig.class, 
22  		value = { @Relation(baseColumn = "systemId", refer = SystemConfig.class, referColumn = "systemId", type = RelationType.LEFT),
23  	              @Relation(baseColumn = "roleId", refer = Role.class, referColumn = "roleId", type = RelationType.LEFT)})
24  public class WidgetAuthortyConfigVO extends WidgetAuthortyConfig{
25  	
26  	@Field(clazz = SystemConfig.class)
27  	private String systemName;
28  	
29  	@Field(clazz = Role.class)
30  	private String roleName;
31  	
32  	private String widgetNames;
33  
34  	public String getSystemName() {
35  		return systemName;
36  	}
37  
38  	public void setSystemName(String systemName) {
39  		this.systemName = systemName;
40  	}
41  
42  	public String getRoleName() {
43  		return roleName;
44  	}
45  
46  	public void setRoleName(String roleName) {
47  		this.roleName = roleName;
48  	}
49  
50  	public String getWidgetNames() {
51  		return widgetNames;
52  	}
53  
54  	public void setWidgetNames(String widgetNames) {
55  		this.widgetNames = widgetNames;
56  	}
57  	
58  }