summaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/src/app/shared/models/modelInfo.ts
blob: eb599cbe14eece77859daf88fe5c8d82e8b3200f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
export class ModelInfo {
  modelInvariantId?: string;
  modelVersionId?: string;
  modelName: string;
  modelVersion: string;
  modelCustomizationId?: string;
  modelCustomizationName?: string;
  uuid? : string;
  modelUniqueId?: 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;
    this.uuid = instanceModel.uuid;
    this.modelUniqueId = this.modelCustomizationId||this.uuid;
  }
}