public void fillObject(CreditProgram crProg, ResultSet result) {
        //Заполняем кредитную программу
        try {
            crProg.setId(result.getInt("ID"));
            crProg.setName(result.getString("CREDITNAME"));
            crProg.setMinAmount(result.getLong("CREDITMINAMOUNT"));
            crProg.setMaxAmount(result.getLong("CREDITMAXAMOUNT"));
            crProg.setDuration(result.getInt("CREDITDURATION"));
            crProg.setStartPay(result.getDouble("CREDITSTARTPAY"));
            crProg.setPercent(result.getDouble("CREDITPERCENT"));
            crProg.setDescription(result.getString("CREDITDESCRIPTION"));
            crProg.setCreditProgStatus(result.getInt("CREDITPROGSTATUS"));
        } catch (SQLException exc) {
            JOptionPane.showMessageDialog(null, "Ошибка при извлечении обьекта из базы");
        }
    }