import { BaseMetadata } from '@/types/api/api-general';

export type BaseProductCategory = {
  id: number;
  code: string;
  name: string;
};

export type ProductCategory = BaseMetadata & BaseProductCategory;

export type CreateProductCategoryPayload = {
  code: string;
  name: string;
};

export type UpdateProductCategoryPayload = CreateProductCategoryPayload;
