summaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/src/app/shared/models/modelInfo.ts
blob: 091c02ef1baef28cbef503d7d97418b18870ac4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
export class ModelInfo {
  modelInvariantId: string;
  modelVersionId: string;
  modelName: string;
  modelVersion: string;
  modelCustomizationId: string;
  modelCustomizationName: string;



  constructor(instanceModel) {
    this.modelInvariantId = instanceModel.invariantUuid;
    this.modelVersionId = instanceModel.uuid;
    this.modelName = instanceModel.name;
    this.modelVersion = instanceModel.version;
    this.modelCustomizationId = instanceModel.customizationUuid;
    this.modelCustomizationName = instanceModel.modelCustomizationName;
  }
}