1
|
package eu.dnetlib.uoaadmintools.entities;
|
2
|
|
3
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
4
|
import org.springframework.data.annotation.Id;
|
5
|
|
6
|
public class DivIdResponse {
|
7
|
@Id
|
8
|
@JsonProperty("_id")
|
9
|
private String id;
|
10
|
|
11
|
private String name;
|
12
|
private Page page;
|
13
|
private Community community;
|
14
|
|
15
|
public DivIdResponse(DivId divId) {
|
16
|
this.id = divId.getId();
|
17
|
this.name = divId.getName();
|
18
|
}
|
19
|
|
20
|
public String getId() {
|
21
|
return id;
|
22
|
}
|
23
|
|
24
|
public void setId(String id) {
|
25
|
this.id = id;
|
26
|
}
|
27
|
|
28
|
public String getName() {
|
29
|
return name;
|
30
|
}
|
31
|
|
32
|
public void setName(String name) {
|
33
|
this.name = name;
|
34
|
}
|
35
|
|
36
|
public Page getPage() {
|
37
|
return page;
|
38
|
}
|
39
|
|
40
|
public void setPage(Page page) {
|
41
|
this.page = page;
|
42
|
}
|
43
|
|
44
|
public Community getCommunity() {
|
45
|
return community;
|
46
|
}
|
47
|
|
48
|
public void setCommunity(Community community) {
|
49
|
this.community = community;
|
50
|
}
|
51
|
}
|