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 = User.class, value = {
20  	@Relation(refer = UserGroupOrganMapper.class, baseColumn = "userId", referColumn = "userId", type = RelationType.INNER)
21  })
22  public class UserURGOMapperVO extends User{
23  	@Field(clazz=UserGroupOrganMapper.class,query=false)
24  	private String organName;
25  	@Field(clazz=UserGroupOrganMapper.class,query=false)
26  	private String groupId;
27  	
28      public String getOrganName() {
29      	return organName;
30      }
31      public void setOrganName(String organName) {
32      	this.organName = organName;
33      }
34      public String getGroupId() {
35      	return groupId;
36      }
37      public void setGroupId(String groupId) {
38      	this.groupId = groupId;
39      }
40  }