import {Transaction} from "@/models/Transaction";
import {Category, CategorySetting} from "@/models/Category";

export class BudgetInfo {
    budget: Budget
    plannedExpenses: [Transaction]
    plannedIncomes: [Transaction]
    transactions: [Transaction]
    transactionCategoriesSums: []
    totalIncomes: number
    totalExpenses: number
    chartData: [[]]
    unplannedCategories: [BudgetCategory]
}


export class Budget {
    id: number
    name: string
    dateFrom: Date
    dateTo: Date
    createdAt: Date
}

export class BudgetCategory {
    category: Category;
    categorySetting: CategorySetting
}
