Files
brewman/overlord/src/app/ledger/ledger.ts
2020-11-23 16:42:54 +05:30

19 lines
386 B
TypeScript

import { Account } from '../core/account';
import { LedgerItem } from './ledger-item';
export class Ledger {
startDate: string;
finishDate: string;
account: Account;
body: LedgerItem[];
public constructor(init?: Partial<Ledger>) {
this.startDate = '';
this.finishDate = '';
this.account = new Account();
this.body = [];
Object.assign(this, init);
}
}