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

    
11
    private DivIdResponse divId;
12
    private Community community;
13
    private String content;
14
    private boolean isActive = true;
15

    
16
    public DivHelpContentResponse(DivHelpContent divHelpContent) {
17
        this.id = divHelpContent.getId();
18
        this.content = divHelpContent.getContent();
19
        this.isActive = divHelpContent.getIsActive();
20
    }
21

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

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

    
30
    public DivIdResponse getDivId() {
31
        return divId;
32
    }
33

    
34
    public void setDivId(DivIdResponse divId) {
35
        this.divId = divId;
36
    }
37

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

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

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

    
50
    public void setContent(String content) {
51
        this.content = content;
52
    }
53

    
54
    public boolean getIsActive() {
55
        return isActive;
56
    }
57

    
58
    public void setIsActive(boolean isActive) {
59
        this.isActive = isActive;
60
    }
61
}
(7-7/23)