export interface InventoryDetailsVO {
  /**
   * 库存ID
   */
  inventoryDetailsId: string | number;

  /**
   * 库位编码
   */
  locationCode: string;

  /**
   * 仓库ID
   */
  warehouseId: string | number;

  /**
   * 物料ID
   */
  materielId: string | number;

  /**
   * 批次号
   */
  batchNumber: string;

  /**
   * 库存数量
   */
  inventoryAmount: number;
  /**
   * 单价
   */
  unitPrice: number;

  /**
   * 锁定数量
   */
  lockedAmount: number;
  productCode?: string;
  productName?: string;
  /**
   * 备注
   */
  remark: string;

  /**
   * 创建时间
   */
  createTime: string;

  /**
   * 更新时间
   */
  updateTime: string;
  useAddresses: number;
  materialCode: string;
  materialName: string;
  materialBrand: string;
  warehouseCode: string;
  warehouseName: string;
  materialModel: string;
}

export interface InventoryDetailsForm extends BaseEntity {
  /**
   * 库存ID
   */
  inventoryDetailsId?: string | number;
  unitPrice: number;
  /**
   * 库位编码
   */
  locationCode?: string;

  /**
   * 仓库ID
   */
  warehouseId?: string | number;

  /**
   * 物料ID
   */
  materielId?: string | number;

  /**
   * 批次号
   */
  batchNumber?: string;

  /**
   * 库存数量
   */
  inventoryAmount?: number;

  /**
   * 锁定数量
   */
  lockedAmount?: number;
  productCode?: string;
  productName?: string;
  /**
   * 备注
   */
  remark?: string;
}

export interface InventoryDetailsQuery extends PageQuery {
  /**
   * 库位编码
   */
  locationCode?: string;
  productCode?: string;
  externalBrand?: string;
  productName?: string;

  /**
   * 仓库ID
   */
  warehouseId?: string | number;
  projectId?: string | number;

  /**
   * 物料ID
   */
  materielId?: string | number;

  /**
   * 批次号
   */
  batchNumber?: string;

  /**
   * 库存数量
   */
  inventoryAmount?: number;

  /**
   * 锁定数量
   */
  lockedAmount?: number;

  /**
   * 日期范围参数
   */
  params?: any;
}
