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

export const pageContext = createPageContext();
export const searchContext = createSearchContext();

export const contextState: OriginalListParams<GetWarehousingFlowingListParams> =
  {
    startTime: '',
    endTime: '',
    wllbCode: '',
    materialName: '',
    userName: '',
    wbs: '',
    storageCode: '',
    storageLocationName: '',
    supplierId: '',
    realName: '',
    orderCode: '',
    accountSleeve: '',
  };
export const context = createTableSearchContext(contextState);
