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 = Authority.class, value = { @Relation(baseColumn = "resId", refer = Resource.class, referColumn = "resId", type = RelationType.LEFT) })
20 public class AuthorityResourceVO extends Resource {
21
22 @Field(clazz = Authority.class)
23 private String authForId;
24
25 @Field(clazz = Authority.class)
26 private String useStatus;
27
28
29
30
31
32
33 private String inheritFlag;
34
35
36 private String inheritFrom;
37
38 public String getAuthForId() {
39 return authForId;
40 }
41
42 public void setAuthForId(String authForId) {
43 this.authForId = authForId;
44 }
45
46 public String getUseStatus() {
47 return useStatus;
48 }
49
50 public void setUseStatus(String useStatus) {
51 this.useStatus = useStatus;
52 }
53
54 public String getInheritFlag() {
55 return inheritFlag;
56 }
57
58 public void setInheritFlag(String inheritFlag) {
59 this.inheritFlag = inheritFlag;
60 }
61
62 public String getInheritFrom() {
63 return inheritFrom;
64 }
65
66 public void setInheritFrom(String inheritFrom) {
67 this.inheritFrom = inheritFrom;
68 }
69
70 }