Add model/node-data-type

Add model/node-data-type

Issue-ID: SDC-1130,SDC-1131

Change-Id: I90b1bf3c63aa02bf8cbbf1a57e0278301f6ecf19
Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
diff --git a/sdc-workflow-designer-ui/src/app/model/node-data-type/display-name.ts b/sdc-workflow-designer-ui/src/app/model/node-data-type/display-name.ts
new file mode 100644
index 0000000..df624eb
--- /dev/null
+++ b/sdc-workflow-designer-ui/src/app/model/node-data-type/display-name.ts
@@ -0,0 +1,16 @@
+/**

+ * Copyright (c) 2018 ZTE Corporation.

+ * All rights reserved. This program and the accompanying materials

+ * are made available under the terms of the Eclipse Public License v1.0

+ * and the Apache License 2.0 which both accompany this distribution,

+ * and are available at http://www.eclipse.org/legal/epl-v10.html

+ * and http://www.apache.org/licenses/LICENSE-2.0

+ *

+ * Contributors:

+ *     ZTE - initial API and implementation and/or initial documentation

+ */

+

+export class DisplayName {

+    public zh_CN: string;

+    public en_US: string;

+}
\ No newline at end of file
diff --git a/sdc-workflow-designer-ui/src/app/model/node-data-type/icon.ts b/sdc-workflow-designer-ui/src/app/model/node-data-type/icon.ts
new file mode 100644
index 0000000..1bb4729
--- /dev/null
+++ b/sdc-workflow-designer-ui/src/app/model/node-data-type/icon.ts
@@ -0,0 +1,17 @@
+/**

+ * Copyright (c) 2018 ZTE Corporation.

+ * All rights reserved. This program and the accompanying materials

+ * are made available under the terms of the Eclipse Public License v1.0

+ * and the Apache License 2.0 which both accompany this distribution,

+ * and are available at http://www.eclipse.org/legal/epl-v10.html

+ * and http://www.apache.org/licenses/LICENSE-2.0

+ *

+ * Contributors:

+ *     ZTE - initial API and implementation and/or initial documentation

+ */

+

+export class Icon {

+    public name: string;

+    public width: number;

+    public height: number;

+}
\ No newline at end of file
diff --git a/sdc-workflow-designer-ui/src/app/model/node-data-type/node-data-type.ts b/sdc-workflow-designer-ui/src/app/model/node-data-type/node-data-type.ts
new file mode 100644
index 0000000..64dc0e9
--- /dev/null
+++ b/sdc-workflow-designer-ui/src/app/model/node-data-type/node-data-type.ts
@@ -0,0 +1,24 @@
+/**

+ * Copyright (c) 2018 ZTE Corporation.

+ * All rights reserved. This program and the accompanying materials

+ * are made available under the terms of the Eclipse Public License v1.0

+ * and the Apache License 2.0 which both accompany this distribution,

+ * and are available at http://www.eclipse.org/legal/epl-v10.html

+ * and http://www.apache.org/licenses/LICENSE-2.0

+ *

+ * Contributors:

+ *     ZTE - initial API and implementation and/or initial documentation

+ */

+import { DisplayName } from "./display-name";

+import { Icon } from "./icon";

+import { SwaggerSchema } from "../workflow/swagger/swagger-schema";

+

+export interface NodeDataType {

+    id: string;

+    displayName?: DisplayName;

+    description?: DisplayName;

+    type: string;

+    icon: Icon;

+    content: any;

+    definitions: any;

+}
\ No newline at end of file