dnet-applications/apps/dnet-exporter-api/src/main/java/eu/dnetlib/openaire/community/CommunityProject.java

88 lines
1.8 KiB
Java
Raw Normal View History

2022-02-04 10:12:15 +01:00
package eu.dnetlib.openaire.community;
import com.fasterxml.jackson.annotation.JsonAutoDetect;
2022-08-19 15:21:40 +02:00
import io.swagger.v3.oas.annotations.media.Schema;
2022-02-04 10:12:15 +01:00
@JsonAutoDetect
public class CommunityProject {
2022-08-19 15:21:40 +02:00
@Schema(description = "OpenAIRE identifier for this project, if available", required = false)
2022-02-04 10:12:15 +01:00
private String openaireId;
2022-08-19 15:21:40 +02:00
@Schema(description = "the community identifier this project belongs to", required = true)
2022-02-04 10:12:15 +01:00
private String communityId;
2022-08-19 15:21:40 +02:00
@Schema(description = "identifies this project within the context it belongs to", required = true)
2022-02-04 10:12:15 +01:00
private String id;
2022-08-19 15:21:40 +02:00
@Schema(description = "project name", required = true)
2022-02-04 10:12:15 +01:00
private String name;
2022-08-19 15:21:40 +02:00
@Schema(description = "project acronym", required = false)
2022-02-04 10:12:15 +01:00
private String acronym;
2022-08-19 15:21:40 +02:00
@Schema(description = "project funder", required = true)
2022-02-04 10:12:15 +01:00
private String funder;
2022-08-19 15:21:40 +02:00
@Schema(description = "project grant id", required = true)
2022-02-04 10:12:15 +01:00
private String grantId;
public String getOpenaireId() {
return openaireId;
}
public void setOpenaireId(final String openaireId) {
this.openaireId = openaireId;
}
public String getCommunityId() {
return communityId;
}
public void setCommunityId(final String communityId) {
this.communityId = communityId;
}
public String getId() {
return id;
}
public void setId(final String id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(final String name) {
this.name = name;
}
public String getAcronym() {
return acronym;
}
public void setAcronym(final String acronym) {
this.acronym = acronym;
}
public String getFunder() {
return funder;
}
public void setFunder(final String funder) {
this.funder = funder;
}
public String getGrantId() {
return grantId;
}
public void setGrantId(final String grantId) {
this.grantId = grantId;
}
}