argos/dmp-frontend/src/app/models/researcher/ResearcherModel.ts

17 lines
373 B
TypeScript

import { Serializable } from "../Serializable";
export class ResearcherModel implements Serializable<ResearcherModel> {
public id: String;
public label: String;
public uri: String;
public email: String;
fromJSONObject(item: any): ResearcherModel {
this.id = item.id;
this.label = item.label;
this.email = item.email;
this.uri = item.uri;
return this;
}
}