import {Category} from "@/models/category";
import {User} from "@/models/user";

export interface RecurrentOperation {
    id: number;
    category: Category;
    name: string;
    amount: number;
    date: number
    createdBy: User;
    createdAt: Date;
}

export interface CreateRecurrentOperationDTO {
    categoryId: number;
    name: string;
    amount: number;
    date: number;
}

export interface UpdateRecurrentOperationDTO {
    categoryId: number;
    name: string;
    amount: number;
    date: number;
}
