1
2
3
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
16
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 }