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

17 lines
375 B
TypeScript

import { ProfitLossItem } from './profit-loss-item';
export class ProfitLoss {
startDate: string;
finishDate: string;
body: ProfitLossItem[];
footer: ProfitLossItem;
public constructor(init?: Partial<ProfitLoss>) {
this.startDate = '';
this.finishDate = '';
this.body = [];
this.footer = new ProfitLossItem();
Object.assign(this, init);
}
}