re base code
[sdc.git] / catalog-ui / src / app / models / ui-models / ui-base-object.ts
1 /**
2  * Created by ob0695 on 10.04.2018.
3  */
4
5 export interface IUiBaseObject {
6     name:string;
7     uniqueId:string;
8     type:any;
9 }
10 export class UiBaseObject implements IUiBaseObject{
11     name:string;
12     uniqueId:string;
13     type:any;
14
15     constructor(uniqueId: string,  type?: any, name?:string) {
16         this.uniqueId = uniqueId;
17         this.name = name;
18         this.type = type;
19     }
20 }