From eab18999ec6f53976f6bd0e091f482d7b7712b69 Mon Sep 17 00:00:00 2001 From: "CITE\\dtziotzios" Date: Wed, 17 Jan 2018 12:11:58 +0200 Subject: [PATCH] no message --- .../external-dataset/ExternalDatasetModel.ts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 dmp-frontend/src/app/models/external-dataset/ExternalDatasetModel.ts diff --git a/dmp-frontend/src/app/models/external-dataset/ExternalDatasetModel.ts b/dmp-frontend/src/app/models/external-dataset/ExternalDatasetModel.ts new file mode 100644 index 000000000..03b8dec13 --- /dev/null +++ b/dmp-frontend/src/app/models/external-dataset/ExternalDatasetModel.ts @@ -0,0 +1,17 @@ +import { Serializable } from "../Serializable"; + +export class ExternalDatasetModel implements Serializable { + public abbreviation: String; + public id: String; + public label: String; + public reference: String; + + fromJSONObject(item: any): ExternalDatasetModel { + this.abbreviation = item.abbreviation; + this.id = item.id; + this.label = item.label; + this.reference = item.reference; + + return this; + } +} \ No newline at end of file