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

/**
 * @description: MesWarehouseDisassemble分页参数 模型
 */
export interface MesWarehouseDisassemblePageParams extends BasicPageParams {
  warehouseName: string;

  storekeeper: string;

  productionDepartment: string;

  businessOrganization: string;

  documentStatus: string;

  batchNumber: string;

  remark: string;
}

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

  warehouseName: string;

  storekeeper: string;

  productionDepartment: string;

  businessOrganization: string;

  documentStatus: string;

  batchNumber: string;

  remark: string;
}

/**
 * @description: MesWarehouseDisassemble表类型
 */
export interface MesWarehouseDisassembleModel {
  id: string;

  businessOrganization: string;

  warehouseName: string;

  storekeeper: string;

  productionDepartment: string;

  batchNumber: string;

  documentStatus: string;

  remark: string;

  mesWarehouseDisassembleInfoList?: MesWarehouseDisassembleInfoModel;
}

/**
 * @description: MesWarehouseDisassembleInfo表类型
 */
export interface MesWarehouseDisassembleInfoModel {
  id: string;

  disassembleId: string;

  materialId: string;

  materialCode: string;

  materialName: string;

  specifications: string;

  model: string;

  batchNumber: string;

  warehousingNumber: string;

  remark: string;

  storageLocation: string;
}

/**
 * @description: MesWarehouseDisassemble分页返回值结构
 */
export type MesWarehouseDisassemblePageResult = BasicFetchResult<MesWarehouseDisassemblePageModel>;
