32 lines
649 B
TypeScript
32 lines
649 B
TypeScript
/**
|
|
* GL Account Node model.
|
|
*/
|
|
export class GLAccountNode {
|
|
/** GL Account Node children. */
|
|
children: GLAccountNode[];
|
|
|
|
name: string;
|
|
glCode: string;
|
|
type: string;
|
|
usage: string;
|
|
manualEntriesAllowed: boolean;
|
|
description: string;
|
|
|
|
constructor(
|
|
name: string,
|
|
glCode: string = '',
|
|
type: string = '',
|
|
usage: string = '',
|
|
manualEntriesAllowed: boolean = false,
|
|
description: string = ''
|
|
) {
|
|
this.name = name;
|
|
this.glCode = glCode;
|
|
this.type = type;
|
|
this.usage = usage;
|
|
this.manualEntriesAllowed = manualEntriesAllowed;
|
|
this.description = description;
|
|
this.children = [];
|
|
}
|
|
}
|