export interface DashboardModel {
	incomeLast: number;
	incomePrevious: number;
	incomeChange: number;
	outcomeLast: number;
	outcomePrevious: number;
	outcomeChange: number;

	balance: number;
	balanceDebit: number;
	balanceCredit: number;

	balanceRests: DashboardRestModel[];
}

export interface DashboardRestModel {
	id: string;
	name: string;
	currencyName: string;
	currencyShortName: string;
	balance: number;
	currencyRate: number;
	currencyQuantity: number;
	balanceAtRate: number;
}

export interface DashboardInOutModel {
	data: DashboardInOutItemModel[];
	details: DashboardInOutItemModel[];
}

export interface DashboardInOutItemModel {
	id: string;
	currency: string;
	name: string;
	value: number;
	valueRaw: number;
}
