import {
  createPageContext,
  createSearchContext,
  createTableSearchContext,
} from '@hooks';
import {GetRelocationOrderListParams, OriginalListParams} from '@models';

export const pageContext = createPageContext();
export const searchContext = createSearchContext();
export const contextState: OriginalListParams<GetRelocationOrderListParams> = {
  warehouseTransferCode: '',
  startTime: '',
  endTime: '',
  materialName: '',
  askGoodsWarehouseId: '',
  supplyWarehouseId: '',
  wbs: '',
  entryNumber: '',
  warehouseTransferType: '',
  materialCode: '',
  companyCode: '',
};
export const context = createTableSearchContext(contextState);
