2023-03-31 14:53:52 +02:00
|
|
|
package eu.dnetlib.openaire.exporter.model.community;
|
2022-02-04 10:12:15 +01:00
|
|
|
|
2022-08-19 15:21:40 +02:00
|
|
|
import javax.validation.constraints.NotNull;
|
|
|
|
|
2022-02-04 10:12:15 +01:00
|
|
|
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 CommunityOrganization {
|
2022-08-19 15:21:40 +02:00
|
|
|
|
|
|
|
@NotNull
|
|
|
|
@Schema(description = "the community identifier this organization belongs to", required = true)
|
|
|
|
private String communityId;
|
|
|
|
|
|
|
|
@NotNull
|
|
|
|
@Schema(description = "name of the organization", required = true)
|
|
|
|
private String name;
|
|
|
|
|
|
|
|
@NotNull
|
|
|
|
@Schema(description = "identifies this organization within the context it belongs to", required = true)
|
|
|
|
private String id;
|
|
|
|
|
|
|
|
@NotNull
|
|
|
|
@Schema(description = "url of the logo for this organization", required = true)
|
|
|
|
private String logo_url;
|
|
|
|
|
|
|
|
@NotNull
|
|
|
|
@Schema(description = "website url for this organization", required = true)
|
|
|
|
private String website_url;
|
|
|
|
|
|
|
|
public String getCommunityId() {
|
|
|
|
return communityId;
|
|
|
|
}
|
|
|
|
|
|
|
|
public CommunityOrganization setCommunityId(final String communityId) {
|
|
|
|
this.communityId = communityId;
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getName() {
|
|
|
|
return name;
|
|
|
|
}
|
|
|
|
|
|
|
|
public CommunityOrganization setName(final String name) {
|
|
|
|
this.name = name;
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getId() {
|
|
|
|
return id;
|
|
|
|
}
|
|
|
|
|
|
|
|
public CommunityOrganization setId(final String id) {
|
|
|
|
this.id = id;
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getLogo_url() {
|
|
|
|
return logo_url;
|
|
|
|
}
|
|
|
|
|
|
|
|
public CommunityOrganization setLogo_url(final String logo_url) {
|
|
|
|
this.logo_url = logo_url;
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getWebsite_url() {
|
|
|
|
return website_url;
|
|
|
|
}
|
|
|
|
|
|
|
|
public CommunityOrganization setWebsite_url(final String website_url) {
|
|
|
|
this.website_url = website_url;
|
|
|
|
return this;
|
|
|
|
}
|
2022-02-04 10:12:15 +01:00
|
|
|
}
|