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 @Relations(base = Resource.class, value = {
18 @Relation(baseColumn = "resId", refer = Authority.class, referColumn = "resId", type = RelationType.INNER),
19 @Relation(baseColumn = "systemId", refer = SystemConfig.class, referColumn = "systemId", type = RelationType.INNER) })
20 public class SystemAuthorityResourceVO extends SystemConfig {
21
22 @Field(clazz = Authority.class, query=false)
23 private String authForId;
24
25 @Field(clazz = Authority.class, query=false)
26 private String useStatus;
27
28
29 public String getAuthForId() {
30 return authForId;
31 }
32
33
34 public void setAuthForId(String authForId) {
35 this.authForId = authForId;
36 }
37
38
39 public String getUseStatus() {
40 return useStatus;
41 }
42
43
44 public void setUseStatus(String useStatus) {
45 this.useStatus = useStatus;
46 }
47
48 }