View Javadoc
1   /**
2    * Copyright By Grandsoft Company Limited.  
3    * 2012-3-16 下午01:57:18
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   * @author zhaop
14   * @since jdk1.6
15   * @date 2012-3-20
16   */
17  @Relations(base = DataLevelAuthority.class, value = { @Relation(baseColumn = "resId", refer = Resource.class, referColumn = "resId", type = RelationType.LEFT) })
18  public class AuthorityDataLevelResourceVO {
19  
20  	@Field(clazz = DataLevelAuthority.class, query = false)
21  	private String groupId;
22  
23  	@Field(clazz = DataLevelAuthority.class, query = false)
24  	private String roleId;
25  
26  	@Field(clazz = DataLevelAuthority.class)
27  	private String dataLevel;
28  
29  	@Field(clazz = Resource.class)
30  	private String actionClass;
31  
32  	@Field(clazz = Resource.class, query = false)
33  	private String systemId;
34  
35  	public String getSystemId() {
36  		return systemId;
37  	}
38  
39  	public void setSystemId(String systemId) {
40  		this.systemId = systemId;
41  	}
42  
43  	public String getGroupId() {
44  		return groupId;
45  	}
46  
47  	public void setGroupId(String groupId) {
48  		this.groupId = groupId;
49  	}
50  
51  	public String getRoleId() {
52  		return roleId;
53  	}
54  
55  	public void setRoleId(String roleId) {
56  		this.roleId = roleId;
57  	}
58  
59  	public String getDataLevel() {
60  		return dataLevel;
61  	}
62  
63  	public void setDataLevel(String dataLevel) {
64  		this.dataLevel = dataLevel;
65  	}
66  
67  	public String getActionClass() {
68  		return actionClass;
69  	}
70  
71  	public void setActionClass(String actionClass) {
72  		this.actionClass = actionClass;
73  	}
74  
75  }