summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/models/ui-models/ui-base-object.ts
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-ui/src/app/models/ui-models/ui-base-object.ts')
-rw-r--r--catalog-ui/src/app/models/ui-models/ui-base-object.ts20
1 files changed, 20 insertions, 0 deletions
diff --git a/catalog-ui/src/app/models/ui-models/ui-base-object.ts b/catalog-ui/src/app/models/ui-models/ui-base-object.ts
new file mode 100644
index 0000000000..a5989e4718
--- /dev/null
+++ b/catalog-ui/src/app/models/ui-models/ui-base-object.ts
@@ -0,0 +1,20 @@
+/**
+ * Created by ob0695 on 10.04.2018.
+ */
+
+export interface IUiBaseObject {
+ name:string;
+ uniqueId:string;
+ type:any;
+}
+export class UiBaseObject implements IUiBaseObject{
+ name:string;
+ uniqueId:string;
+ type:any;
+
+ constructor(uniqueId: string, type?: any, name?:string) {
+ this.uniqueId = uniqueId;
+ this.name = name;
+ this.type = type;
+ }
+} \ No newline at end of file