import {Category} from "@/models/Category";

export class Transaction {
    id: number;
    transactionType: TransactionType;
    category: Category;
    comment: string;
    date: Date;
    amount: number
    isDone: boolean;
}

export class TransactionCategoriesSum{
    category: Category;
    sum: number
}




export class TransactionType {
    code: string;
    name: string;
}