Project

General

Profile

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 HtmlPageContentResponse {
7
    @Id
8
    @JsonProperty("_id")
9
    private String id;
10

    
11
    private Page page;
12
    private Community community;
13
    private String content;
14

    
15
    public HtmlPageContentResponse() {
16
    }
17

    
18
    public HtmlPageContentResponse(HtmlPageContent htmlPageContent) {
19
        this.id = htmlPageContent.getId();
20
        this.content = htmlPageContent.getContent();
21
    }
22

    
23
    public String getId() {
24
        return id;
25
    }
26

    
27
    public void setId(String id) {
28
        this.id = id;
29
    }
30

    
31
    public Page getPage() {
32
        return page;
33
    }
34

    
35
    public void setPage(Page page) {
36
        this.page = page;
37
    }
38

    
39
    public Community getCommunity() {
40
        return community;
41
    }
42

    
43
    public void setCommunity(Community community) {
44
        this.community = community;
45
    }
46

    
47
    public String getContent() {
48
        return content;
49
    }
50

    
51
    public void setContent(String content) {
52
        this.content = content;
53
    }
54
}
(13-13/23)