1 | public class Permission {↵ | | 1 | public class Permission {↵
|
2 | private Long id;↵ | | 2 | private Long id;↵
|
3 | private Date timestamp;↵ | | 3 | private Date timestamp;↵
|
4 | private String name;↵ | | 4 | private String name;↵
|
5 | private String context;↵ | | 5 | private String context;↵
|
6 | private String access;↵ | | 6 | private String access;↵
|
|
7 | public Permission() {↵ | | 7 | public Permission() {↵
|
8 | }↵ | | 8 | }↵
|
|
9 | public Permission(String name, String context, String access) {↵ | | 9 | public Permission(String name, String context, String access) {↵
|
10 | this.name = name;↵ | | 10 | this.name = name;↵
|
11 | this.context = context;↵ | | 11 | this.context = context;↵
|
12 | this.access = access;↵ | | 12 | this.access = access;↵
|
13 | }↵ | | 13 | }↵
|
|
14 | public Long getId() {↵ | | 14 | public Long getId() {↵
|
15 | return id;↵ | | 15 | return id;↵
|
16 | }↵ | | 16 | }↵
|
|
17 | public void setId(Long id) {↵ | | 17 | public void setId(Long id) {↵
|
18 | this.id = id;↵ | | 18 | this.id = id;↵
|
19 | }↵ | | 19 | }↵
|
|
20 | public Date getTimestamp() {↵ | | 20 | public Date getTimestamp() {↵
|
21 | return timestamp;↵ | | 21 | return timestamp;↵
|
22 | }↵ | | 22 | }↵
|
|
23 | public void setTimestamp(Date timestamp) {↵ | | 23 | public void setTimestamp(Date timestamp) {↵
|
24 | this.timestamp = timestamp;↵ | | 24 | this.timestamp = timestamp;↵
|
25 | }↵ | | 25 | }↵
|
|
26 | public String getName() {↵ | | 26 | public String getName() {↵
|
27 | return name;↵ | | 27 | return name;↵
|
28 | }↵ | | 28 | }↵
|
|
29 | public void setName(String name) {↵ | | 29 | public void setName(String name) {↵
|
30 | this.name = name;↵ | | 30 | this.name = name;↵
|
31 | }↵ | | 31 | }↵
|
|
32 | public String getContext() {↵ | | 32 | public String getContext() {↵
|
33 | return context;↵ | | 33 | return context;↵
|
34 | }↵ | | 34 | }↵
|
|
35 | public void setContext(String context) {↵ | | 35 | public void setContext(String context) {↵
|
36 | this.context = context;↵ | | 36 | this.context = context;↵
|
37 | }↵ | | 37 | }↵
|
|
38 | public String getAccess() {↵ | | 38 | public String getAccess() {↵
|
39 | return access;↵ | | 39 | return access;↵
|
40 | }↵ | | 40 | }↵
|
|
41 | public void setAccess(String access) {↵ | | 41 | public void setAccess(String access) {↵
|
42 | this.access = access;↵ | | 42 | this.access = access;↵
|
43 | | | 43 |
|