1
|
package eu.dnetlib.uoaadmintools.entities;
|
2
|
|
3
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
4
|
import eu.dnetlib.uoaadmintools.entities.layoutEntities.Box;
|
5
|
import eu.dnetlib.uoaadmintools.entities.layoutEntities.Buttons;
|
6
|
import eu.dnetlib.uoaadmintools.entities.layoutEntities.Links;
|
7
|
import eu.dnetlib.uoaadmintools.entities.layoutEntities.Panel;
|
8
|
import org.springframework.data.annotation.Id;
|
9
|
|
10
|
public class Layout {
|
11
|
|
12
|
@Id
|
13
|
@JsonProperty("_id")
|
14
|
private String id;
|
15
|
private String mainColor;
|
16
|
private String secondaryColor;
|
17
|
private Panel panel;
|
18
|
private Box box;
|
19
|
private Links links;
|
20
|
private Buttons buttons;
|
21
|
|
22
|
private String portalPid;
|
23
|
|
24
|
public Layout() { }
|
25
|
|
26
|
public Layout(String id, String mainColor, String secondaryColor, Panel panel, Box box, Links links, Buttons buttons, String portalPid) {
|
27
|
this.id = id;
|
28
|
this.mainColor = mainColor;
|
29
|
this.secondaryColor = secondaryColor;
|
30
|
this.panel = panel;
|
31
|
this.box = box;
|
32
|
this.links = links;
|
33
|
this.buttons = buttons;
|
34
|
|
35
|
this.portalPid = portalPid;
|
36
|
}
|
37
|
|
38
|
public String getId() {
|
39
|
return id;
|
40
|
}
|
41
|
|
42
|
public void setId(String id) {
|
43
|
this.id = id;
|
44
|
}
|
45
|
|
46
|
public String getMainColor() {
|
47
|
return mainColor;
|
48
|
}
|
49
|
|
50
|
public void setMainColor(String mainColor) {
|
51
|
this.mainColor = mainColor;
|
52
|
}
|
53
|
|
54
|
public String getSecondaryColor() {
|
55
|
return secondaryColor;
|
56
|
}
|
57
|
|
58
|
public void setSecondaryColor(String secondaryColor) {
|
59
|
this.secondaryColor = secondaryColor;
|
60
|
}
|
61
|
|
62
|
public Panel getPanel() {
|
63
|
return panel;
|
64
|
}
|
65
|
|
66
|
public void setPanel(Panel panel) {
|
67
|
this.panel = panel;
|
68
|
}
|
69
|
|
70
|
public Box getBox() {
|
71
|
return box;
|
72
|
}
|
73
|
|
74
|
public void setBox(Box box) {
|
75
|
this.box = box;
|
76
|
}
|
77
|
|
78
|
public Links getLinks() {
|
79
|
return links;
|
80
|
}
|
81
|
|
82
|
public void setLinks(Links links) {
|
83
|
this.links = links;
|
84
|
}
|
85
|
|
86
|
public Buttons getButtons() {
|
87
|
return buttons;
|
88
|
}
|
89
|
|
90
|
public void setButtons(Buttons buttons) {
|
91
|
this.buttons = buttons;
|
92
|
}
|
93
|
|
94
|
public String getPortalPid() {
|
95
|
return portalPid;
|
96
|
}
|
97
|
|
98
|
public void setPortalPid(String portalPid) {
|
99
|
this.portalPid = portalPid;
|
100
|
}
|
101
|
}
|