Warehouse mapWarehouse(Database db, Map<String, String> row) throws Exception {
   Warehouse warehouse = new Warehouse();
   warehouse.setWarehouseId(row.get("Mã"));
   warehouse.setName(row.get("Kho hàng"));
   warehouse.setOwnerId(row.get("idEnterprise") + "@TOFIX");
   warehouse.setDescription(row.get("description"));
   return warehouse;
 }
  public void merge(Database database, Map<String, String> row) throws Exception {

    Warehouse warehouse = mapWarehouse(database, row);
    if (warehouse.getName() != null) database.getWarehouseDB().add(warehouse, false);
    printer.printRow(new Object[] {warehouse.getName(), warehouse.getAddress()});
  };