package eu.dnetlib.openaire.directindex.objects;

import io.swagger.annotations.ApiModelProperty;

/**
 * Created by michele on 02/12/15.
 */
public class PidEntry {

	private String type;
	private String value;

	public PidEntry() {
	}

	public PidEntry(final String type, final String value) {
		this.type = type;
		this.value = value;
	}

	@ApiModelProperty(required = true, value = "E.g. doi, pmc, urn. See http://api.openaire.eu/vocabularies/dnet:pid_types")
	public String getType() {
		return type;
	}

	public void setType(final String type) {
		this.type = type;
	}

	@ApiModelProperty(required = true)
	public String getValue() {
		return value;
	}

	public void setValue(final String value) {
		this.value = value;
	}
}