public void fillObject(Client client, ResultSet result) {
        //Заполняем данные о клиенте
        try {
            client.setId(result.getInt("ID"));
            client.setFio(result.getString("CLIENTFIO"));
            client.setAddress(result.getString("CLIENTADR"));
            client.setPassport(result.getString("CLIENTPAS"));
            client.setIdCod(result.getString("CLIENTIDCOD"));
            client.setTel(result.getString("CLIENTTEL"));
            client.setLevel(result.getLong("CLIENTLEVEL"));
            client.setWorkInfo(result.getString("CLIENTWORKINFO"));
            client.setSuretyId(result.getInt("SURETYID"));
            client.setUsersId(result.getInt("USERSID"));


        } catch (SQLException exc) {
            JOptionPane.showMessageDialog(null, "Ошибка при извлечении обьекта из базы");
        }
    }