import { InterFunction, InterItemFunction } from "~/api/interface";

// 品牌管理-新增
export type MakeAddType = InterFunction<{ brandName: string }, null>;
// 品牌编辑
export type MakeEditType = InterFunction<{ brandName: string; id: any }, null>;
// 品牌管理-列表
export type MakeItemEntity = {
  createTime: string;
  brandName: string;
  id: number;
};
export type MakeListType = InterItemFunction<{}, MakeItemEntity[]>;

// 品牌刪除
export type MakeDeleteType = InterFunction<{ id: number }, null>;
