Project

General

Profile

1 55027 k.triantaf
package eu.dnetlib.uoaadmintools.entities;
2
3
import com.fasterxml.jackson.annotation.JsonProperty;
4 57319 k.triantaf
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 55027 k.triantaf
import org.springframework.data.annotation.Id;
9
10
public class Layout {
11
12
    @Id
13
    @JsonProperty("_id")
14
    private String id;
15 57319 k.triantaf
    private String mainColor;
16
    private String secondaryColor;
17
    private Panel panel;
18
    private Box box;
19
    private Links links;
20
    private Buttons buttons;
21 55027 k.triantaf
22 59470 konstantin
    private String portalPid;
23 57319 k.triantaf
24 55027 k.triantaf
    public Layout() { }
25
26 59470 konstantin
    public Layout(String id, String mainColor, String secondaryColor, Panel panel, Box box, Links links, Buttons buttons, String portalPid) {
27 57319 k.triantaf
        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 59470 konstantin
35
        this.portalPid = portalPid;
36 57319 k.triantaf
    }
37
38 55027 k.triantaf
    public String getId() {
39
        return id;
40
    }
41
42
    public void setId(String id) {
43
        this.id = id;
44
    }
45
46 57319 k.triantaf
    public String getMainColor() {
47
        return mainColor;
48 55027 k.triantaf
    }
49
50 57319 k.triantaf
    public void setMainColor(String mainColor) {
51
        this.mainColor = mainColor;
52 55027 k.triantaf
    }
53 57319 k.triantaf
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 59470 konstantin
94
    public String getPortalPid() {
95
        return portalPid;
96
    }
97
98
    public void setPortalPid(String portalPid) {
99
        this.portalPid = portalPid;
100
    }
101 55027 k.triantaf
}