export class StockSearchEntity {
  materialClassCode!: string;
  orderCode!: string;
  projectCode!: string;
  marketCode!: string;
  materialName!: string;
  specsName!: string;
  warehouseIds!: Array<string>;
  warehouseId!: string;
  storagePartitionId!: string;
  materialId!: string;
  materialCode!: string;
  searchBeginTime!: string;
  searchEndTime!: string;
}

export class StockDetailSearchEntity {
  asnId!: string;
  asnRowId!: string;
  dnId!: string;
  dnRowId!: string;
  transferDetailId!: string;
  materialId!: string;
  materialCode!: string;
  orderCode!: string;
  projectCode!: string;
  marketCode!: string;
  materialName!: string;
  warehouseName!: string;
  areaName!: string;
  binName!: string;
  state!: number[];
  areaId!: string;
  binId!: string;
  searchBeginTime!: string;
  searchEndTime!: string;
  containerId!: string;
  containerTypeId!: string;
  warehouseIds!: Array<string>;
  warehouseId!: string;
  proof!: string;
  storagePartitionId!: string;
  queryFlag!: number;
}

export class StockPutawayEntity {
  asnId!: string;
  dnId!: string;
  keyword!: string;
  materialCode!: string;
  materialName!: string;
  specsName!: string;
  orderCode!: string;
  projectCode!: string;
  state!: number[];
  writeOffId!: string;
}

export class StockMaterialViewSearchEntity {
  dnId!: string;
  stockMaterialIds!: Array<string>;
  storagePartitionId!: string;
  warehouseId!: string;
  areaId!: string;
  binId!: string;
  materialId!: string;
  materialCode!: string;
  materialName!: string;
  specsName!: string;
  orderCode!: string;
  projectCode!: string;
  dnType!: number;
  stockId!: string;
}

export class StockDnSearchEntity {
  storagePartitionId!: string;
  orderCode!: string;
  projectCode!: string;
  marketCode!: string;
  materialName!: string;
  specsName!: string;
  warehouseId!: string;
  materialCode!: string;
  moveType!: string;
  dnType!: string;
  binId!: string;
}

// 用于 销售订单 获取库存物料集合
export class DeliveryStockEntity {
  startDate!: string; // 采购订单创建时间，开始
  endDate!: string; // 采购订单创建时间，结束
  vbeln!: string; // 交货单ID
  warehouseId!: string; // 工厂id
  warehouseSapFlag!: string; // 工厂地点标识
  storagePartitionId!: number; // 库存地点ID
  storageSapFlag!: string; // 库存地点标识
}
