93 lines
2.0 KiB
Java
93 lines
2.0 KiB
Java
package eu.dnetlib.uoaadmintools.entities;
|
|
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
|
|
import org.springframework.data.annotation.Id;
|
|
|
|
public class PageHelpContentResponse {
|
|
|
|
@Id
|
|
@JsonProperty("_id")
|
|
private String id;
|
|
|
|
private Page page;
|
|
private Community community;
|
|
private String placement;
|
|
private int order;
|
|
private String content;
|
|
private boolean isActive = true;
|
|
private boolean isPriorTo = false;
|
|
|
|
public PageHelpContentResponse() {
|
|
}
|
|
|
|
public PageHelpContentResponse(PageHelpContent pageHelpContent) {
|
|
this.id = pageHelpContent.getId();
|
|
this.placement = pageHelpContent.getPlacement();
|
|
this.order = pageHelpContent.getOrder();
|
|
this.content = pageHelpContent.getContent();
|
|
this.isActive = pageHelpContent.getIsActive();
|
|
this.isPriorTo = pageHelpContent.getIsPriorTo();
|
|
}
|
|
|
|
public String getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(String id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public Page getPage() {
|
|
return page;
|
|
}
|
|
|
|
public void setPage(Page page) {
|
|
this.page = page;
|
|
}
|
|
|
|
public Community getCommunity() {
|
|
return community;
|
|
}
|
|
|
|
public void setCommunity(Community community) {
|
|
this.community = community;
|
|
}
|
|
|
|
public String getPlacement() {
|
|
return placement;
|
|
}
|
|
|
|
public void setPlacement(String placement) {
|
|
this.placement = placement;
|
|
}
|
|
|
|
public int getOrder() {
|
|
return order;
|
|
}
|
|
|
|
public void setOrder(int order) {
|
|
this.order = order;
|
|
}
|
|
|
|
public String getContent() {
|
|
return content;
|
|
}
|
|
|
|
public void setContent(String content) {
|
|
this.content = content;
|
|
}
|
|
|
|
public boolean getIsActive() {
|
|
return isActive;
|
|
}
|
|
|
|
public void setIsActive(boolean isActive) {
|
|
this.isActive = isActive;
|
|
}
|
|
|
|
public boolean getIsPriorTo() { return isPriorTo; }
|
|
|
|
public void setIsPriorTo(boolean isPriorTo) { this.isPriorTo = isPriorTo; }
|
|
}
|