brewman/overlord/src/app/profit-loss/profit-loss.ts

17 lines
375 B
TypeScript
Raw Normal View History

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