export type SfgQuery = {
  code?: string;
  page?: string;
  pageSize?: string;
  search?: string;
  sfgType?: string;
  status?: string;
  inch?: string;
  bomType?: string;
  parentItemType?: string;
  processType?: string;
  machineryId?: string;
};

export type SfgItemWriteDto = {
  itemCode?: string;
  itemName?: string;
  itemGroup?: string;
  sfgType?: string;
  purchaseUom?: string;
  stockUom?: string;
  conversionRatio?: number | string;
  billingItem?: boolean | string;
  bom?: boolean | string;
  stockMaintain?: boolean | string;
  minStockLevel?: number | string;
  maxStockLevel?: number | string;
  rate?: number | string;
  costPrice?: number | string;
  inch?: string;
  status?: string;
};

export type WorkbookImportDto = {
  fileName?: string;
  content?: string;
  workbook?: UploadedImportFile;
  holderSummary?: UploadedImportFile;
  wheelSummary?: UploadedImportFile;
  holderSummaryFileName?: string;
  holderSummaryContent?: string;
  wheelSummaryFileName?: string;
  wheelSummaryContent?: string;
};

export type UploadedImportFile = {
  fileName?: string;
  content?: string;
};
