diff options
Diffstat (limited to 'catalog-ui/src/app/models/model.ts')
-rw-r--r-- | catalog-ui/src/app/models/model.ts | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/catalog-ui/src/app/models/model.ts b/catalog-ui/src/app/models/model.ts index 239d86e827..a5e6021284 100644 --- a/catalog-ui/src/app/models/model.ts +++ b/catalog-ui/src/app/models/model.ts @@ -17,6 +17,13 @@ * ============LICENSE_END========================================================= */ -interface Model { - name:string; +export class Model { + name: string; + + constructor(param?: any) { + if (param) { + this.name = param; + } + } + } |