class CustomerDebitRowMapper implements RowMapper<CustomerDebit> {

	public static final String CUSTOMER_COLUMN = "customer";

	public static final String PRICE_COLUMN = "price";

	@Override
	public CustomerDebit mapRow(ResultSet rs, int ignoredRowNumber) throws SQLException {<FILL_FUNCTION_BODY>}

}

		CustomerDebit customerDebit = new CustomerDebit();

		customerDebit.setName(rs.getString(CUSTOMER_COLUMN));
		customerDebit.setDebit(rs.getBigDecimal(PRICE_COLUMN));

		return customerDebit;
	
<no_super_class>