import {User} from "@/models/user";
import {CategoryType} from "@/models/enums";

export interface Category {
    id: number;
    type: CategoryType;
    name: string;
    description: string;
    icon: string;
    createdBy: User;
    createdAt: Date;
    updatedBy: User;
    updatedAt: Date;

}

export interface CreateCategoryDTO  {
    type: CategoryType;
    name: string;
    description: string;
    icon: string;
}

export interface UpdateCategoryDTO {
    type: CategoryType;
    name: string;
    description: string;
    icon: string;
}

