import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel';

/**
 * @description: MesWarehouseInventory分页参数 模型
 */
export interface MesWarehouseInventoryPageParams extends BasicPageParams {
  pdrq: string;

  pdbh: string;

  zt: string;
}

/**
 * @description: MesWarehouseInventory分页返回值模型
 */
export interface MesWarehouseInventoryPageModel {
  id: string;

  pdbh: string;

  pdrq: string;

  zt: string;

  bz: string;
}

/**
 * @description: MesWarehouseInventory表类型
 */
export interface MesWarehouseInventoryModel {
  id: string;

  deleteMark: string;

  ckwz: string;

  cplx: string;

  cp: string;

  pdrq: string;

  pdbh: string;

  zt: string;

  bz: string;

  p1: string;

  p2: string;

  p3: string;

  p4: string;

  p5: string;

  p6: string;

  p7: string;

  p8: string;

  p9: string;

  p10: string;

  p11: string;

  p12: string;

  p13: string;

  p14: string;

  p15: string;

  p16: string;

  p17: string;

  p18: string;

  p19: string;

  p20: string;

  p21: string;

  p22: string;

  p23: string;

  p24: string;

  p25: string;

  p26: string;

  p27: string;

  p28: string;

  p29: string;

  p30: string;

  createDate: string;

  createUserId: string;

  modifyDate: string;

  modifyUserId: string;

  mesWarehouseInventoryRelaList?: MesWarehouseInventoryRelaModel;
}

/**
 * @description: MesWarehouseInventoryRela表类型
 */
export interface MesWarehouseInventoryRelaModel {
  id: string;

  deleteMark: string;

  pdid: string;

  cpbh: string;

  cp: string;

  cplx: string;

  wz: string;

  pch: string;

  pdsl: string;

  ywzz: string;

  p1: string;

  p2: string;

  p3: string;

  p4: string;

  p5: string;

  p6: string;

  p7: string;

  p8: string;

  p9: string;

  p10: string;

  p11: string;

  p12: string;

  p13: string;

  p14: string;

  p15: string;

  p16: string;

  p17: string;

  p18: string;

  p19: string;

  p20: string;

  p21: string;

  p22: string;

  p23: string;

  p24: string;

  p25: string;

  p26: string;

  p27: string;

  p28: string;

  p29: string;

  p30: string;

  createDate: string;

  createUserId: string;

  modifyDate: string;

  modifyUserId: string;
}

/**
 * @description: MesWarehouseInventory分页返回值结构
 */
export type MesWarehouseInventoryPageResult = BasicFetchResult<MesWarehouseInventoryPageModel>;

export interface InventoryFilterParams {
  ckwz: string[];
  cplx: string[];
  cp: string[];
}

export interface InventoryItem {
  ywzz: string;
  id: string;
  cpbh: string;
  cpmc: string;
  cplx: string;
  ck: string;
  hw: string;
  pch: string;
  pdsl: number | null;
  zbid: string;
}
