Files
cbsnexora/src/app/accounting/chart-of-accounts/gl-account-node.model.ts
T
Ralph HopmanandAdam Saghy cac1d11ad7 build: Use prettier for typescript
Stop ignoring .ts files in prettier and fix existing issues.
2025-01-15 11:59:30 +00:00

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 = [];
}
}