summaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/src/app/shared/models/modelInfo.ts
diff options
context:
space:
mode:
Diffstat (limited to 'vid-webpack-master/src/app/shared/models/modelInfo.ts')
-rw-r--r--vid-webpack-master/src/app/shared/models/modelInfo.ts12
1 files changed, 8 insertions, 4 deletions
diff --git a/vid-webpack-master/src/app/shared/models/modelInfo.ts b/vid-webpack-master/src/app/shared/models/modelInfo.ts
index 091c02ef1..eb599cbe1 100644
--- a/vid-webpack-master/src/app/shared/models/modelInfo.ts
+++ b/vid-webpack-master/src/app/shared/models/modelInfo.ts
@@ -1,11 +1,13 @@
export class ModelInfo {
- modelInvariantId: string;
- modelVersionId: string;
+ modelInvariantId?: string;
+ modelVersionId?: string;
modelName: string;
modelVersion: string;
- modelCustomizationId: string;
- modelCustomizationName: string;
+ modelCustomizationId?: string;
+ modelCustomizationName?: string;
+ uuid? : string;
+ modelUniqueId?: String;
@@ -16,6 +18,8 @@ export class ModelInfo {
this.modelVersion = instanceModel.version;
this.modelCustomizationId = instanceModel.customizationUuid;
this.modelCustomizationName = instanceModel.modelCustomizationName;
+ this.uuid = instanceModel.uuid;
+ this.modelUniqueId = this.modelCustomizationId||this.uuid;
}
}