Office hierarchy view as tree

This commit is contained in:
Jose Alberto Hernandez
2022-11-25 14:31:58 -06:00
parent 68a3cfb472
commit 7d8c94698a
6 changed files with 360 additions and 21 deletions
@@ -0,0 +1,34 @@
/**
* Office Node model.
*/
export class OfficeNode {
/** Office Node children. */
children: OfficeNode[];
name: string;
id: string;
parentId: string;
hierarchy: string;
externalId: string;
parentName: string;
openingDate: string;
constructor(name: string,
id: string = '',
parentId: string = '',
hierarchy: string = '',
externalId: string = '',
parentName: string = '',
openingDate: string = '') {
this.name = name;
this.id = id;
this.parentId = parentId;
this.hierarchy = hierarchy;
this.externalId = externalId;
this.parentName = parentName;
this.openingDate = openingDate;
this.children = [];
}
}