Strict done!!

This commit is contained in:
2020-11-23 16:42:54 +05:30
parent af343cb7f9
commit afe746ecdc
142 changed files with 1258 additions and 907 deletions

View File

@ -2,13 +2,17 @@ import { Account } from './account';
import { CostCentre } from './cost-centre';
export class Journal {
id: string;
id: string | undefined;
debit: number;
amount: number;
account: Account;
costCentre: CostCentre;
costCentre: CostCentre | null;
public constructor(init?: Partial<Journal>) {
this.debit = 0;
this.amount = 0;
this.account = new Account();
this.costCentre = new CostCentre();
Object.assign(this, init);
}
}