1 |
57503
|
konstantin
|
package eu.dnetlib.uoamonitorservice.entities;
|
2 |
|
|
|
3 |
57637
|
konstantin
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
4 |
|
|
import org.springframework.data.annotation.Id;
|
5 |
|
|
|
6 |
57503
|
konstantin
|
import java.util.List;
|
7 |
|
|
|
8 |
57578
|
konstantin
|
public class SubCategory<StringOrIndicator> {
|
9 |
57637
|
konstantin
|
@Id
|
10 |
|
|
@JsonProperty("_id")
|
11 |
|
|
private String id;
|
12 |
|
|
|
13 |
57503
|
konstantin
|
private String name;
|
14 |
|
|
private String alias;
|
15 |
|
|
private boolean isActive;
|
16 |
|
|
private boolean isPublic;
|
17 |
57637
|
konstantin
|
private boolean isDefault;
|
18 |
57578
|
konstantin
|
private List<StringOrIndicator> charts;
|
19 |
|
|
private List<StringOrIndicator> numbers;
|
20 |
57503
|
konstantin
|
|
21 |
57578
|
konstantin
|
public SubCategory() {}
|
22 |
|
|
public SubCategory(SubCategory subCategory) {
|
23 |
57671
|
konstantin
|
id = subCategory.getId();
|
24 |
57578
|
konstantin
|
name = subCategory.getName();
|
25 |
|
|
alias = subCategory.getAlias();
|
26 |
|
|
isActive = subCategory.getIsActive();
|
27 |
|
|
isPublic = subCategory.getIsPublic();
|
28 |
57637
|
konstantin
|
isDefault = subCategory.getIsDefault();
|
29 |
57578
|
konstantin
|
}
|
30 |
|
|
|
31 |
57671
|
konstantin
|
public String getId() {
|
32 |
|
|
return id;
|
33 |
|
|
}
|
34 |
|
|
|
35 |
|
|
public void setId(String id) {
|
36 |
|
|
this.id = id;
|
37 |
|
|
}
|
38 |
|
|
|
39 |
57503
|
konstantin
|
public String getName() {
|
40 |
|
|
return name;
|
41 |
|
|
}
|
42 |
|
|
|
43 |
|
|
public void setName(String name) {
|
44 |
|
|
this.name = name;
|
45 |
|
|
}
|
46 |
|
|
|
47 |
|
|
public String getAlias() {
|
48 |
|
|
return alias;
|
49 |
|
|
}
|
50 |
|
|
|
51 |
|
|
public void setAlias(String alias) {
|
52 |
|
|
this.alias = alias;
|
53 |
|
|
}
|
54 |
|
|
|
55 |
57578
|
konstantin
|
public boolean getIsActive() {
|
56 |
57503
|
konstantin
|
return isActive;
|
57 |
|
|
}
|
58 |
|
|
|
59 |
57578
|
konstantin
|
public void setIsActive(boolean isActive) {
|
60 |
|
|
this.isActive = isActive;
|
61 |
57503
|
konstantin
|
}
|
62 |
|
|
|
63 |
57578
|
konstantin
|
public boolean getIsPublic() {
|
64 |
57503
|
konstantin
|
return isPublic;
|
65 |
|
|
}
|
66 |
|
|
|
67 |
57578
|
konstantin
|
public void setIsPublic(boolean isPublic) {
|
68 |
|
|
this.isPublic = isPublic;
|
69 |
57503
|
konstantin
|
}
|
70 |
|
|
|
71 |
57637
|
konstantin
|
public boolean getIsDefault() {
|
72 |
|
|
return isDefault;
|
73 |
|
|
}
|
74 |
|
|
|
75 |
|
|
public void setIsDefault(boolean isDefault) {
|
76 |
|
|
this.isDefault = isDefault;
|
77 |
|
|
}
|
78 |
|
|
|
79 |
57578
|
konstantin
|
public List<StringOrIndicator> getCharts() {
|
80 |
57503
|
konstantin
|
return charts;
|
81 |
|
|
}
|
82 |
|
|
|
83 |
57578
|
konstantin
|
public void setCharts(List<StringOrIndicator> charts) {
|
84 |
57503
|
konstantin
|
this.charts = charts;
|
85 |
|
|
}
|
86 |
|
|
|
87 |
57578
|
konstantin
|
public List<StringOrIndicator> getNumbers() {
|
88 |
57503
|
konstantin
|
return numbers;
|
89 |
|
|
}
|
90 |
|
|
|
91 |
57578
|
konstantin
|
public void setNumbers(List<StringOrIndicator> numbers) {
|
92 |
57503
|
konstantin
|
this.numbers = numbers;
|
93 |
|
|
}
|
94 |
|
|
}
|