public static ArrayList<Lavarropas> getAllLavarropas(int montoMin,int montoMax,char consumo)
	{
		ArrayList<Lavarropas> colElectrodomestico=new ArrayList<Lavarropas>();
		String sqlFiltros="";
		if(montoMin>0)
			sqlFiltros=sqlFiltros.concat(" and preciobase>"+montoMin+" ");
		if(montoMax>0)
			sqlFiltros=sqlFiltros.concat(" and preciobase<"+montoMax+" ");
		if(consumo!=' ')
		{
			sqlFiltros=sqlFiltros.concat(" and consumo='"+consumo+"' ");
		}
		try {
			Connection con = conexion.conectarDB();

			Statement sql = con.createStatement();
			ResultSet cmd=sql.executeQuery("Select * from electrodomestico where tipo='Lavarropas' "+sqlFiltros+"  ;");
			while(cmd.next())
			{
				
					Lavarropas lav=new Lavarropas(cmd.getInt("carga"), cmd.getInt("preciobase"), cmd.getString("color"),cmd.getString("consumo").charAt(0), cmd.getInt("peso"));
					lav.setCodElectrodomestico(cmd.getInt("idelectrodomestico"));
					lav.setDescripcion(cmd.getString("descripcion"));
					lav.setTipo(cmd.getString("Tipo"));
					colElectrodomestico.add(lav);
	
			}
		
		} catch (Exception ex) {
			// TODO Auto-generated catch block
			JOptionPane.showMessageDialog(null,ex.getMessage());
		}
		return colElectrodomestico;
	}