import { IOption } from "../../../common/domain/entities/option";
import { CategoryModel } from "../model/categorie_model";

export const categoryModelToOption = (category: CategoryModel): IOption => ({
  id: category.idCategory,
  name: category.name,
  isSelected: false,
});
