View Javadoc
1   /**
2    * Copyright By Grandsoft Company Limited.  
3    * 2012-3-7 下午05:33:30
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   * 用户组,角色VO
14   * @author zhaop
15   * @since jdk1.6
16   * @date 2012-3-7
17   *  
18   */
19  @Relations(base = OrganDefine.class, value = {
20  	@Relation(refer = GroupOrganMapper.class, baseColumn = "organDefineId", referColumn = "organId", type = RelationType.LEFT)
21  })
22  public class GroupOrganVO extends OrganDefine{
23  	/** 用户组id */
24  	@Field(clazz = GroupOrganMapper.class)
25  	private String groupId;
26  
27      public String getGroupId() {
28      	return groupId;
29      }
30  	
31      public void setGroupId(String groupId) {
32      	this.groupId = groupId;
33      }
34  }