pid-parser-service/model/Result.js

32 lines
617 B
JavaScript

/**
* @class Result
*
* @property {string} source
* @property {string} url
* @property {any} record
* @property {string} accessRights
* @property {string} embargoEndDate
* @property {string} date
* @property {string[]} authors
* @property {string} publisher
* @property {string} description
* @property {string} DOI
* @property {string[]} editors
* @property {string} journal
*/
class Result{
constructor( description) {
this.description = description;
this.accessRights = "OPEN";
this.embargoEndDate= "";
this.authors = [];
this.editors = [];
}
}
module.exports = Result;