export class ProfitLossItem { group: string; name: string; amount: number; total: number; } export class ProfitLoss { startDate: string; finishDate: string; body: ProfitLossItem[]; footer: ProfitLossItem; }