<?xml version="1.0"?>

<mapping>
  <class name="org.nycjava.QuoteBean" identity="id" key-generator="IDENTITY">
    <map-to table="quote"/>
    <field name="id" type="integer" direct="true">
      <sql name="id" type="integer"/>
    </field>
    <field name="customerName" type="string" direct="true">
      <sql name="name" type="varchar" dirty="check"/>
    </field>
    <field name="phoneNumber" type="string" direct="true">
      <sql name="phone" type="varchar" dirty="check"/>
    </field>
    <field name="loanAmount" type="float" direct="true">
      <sql name="amount" type="float" dirty="check"/>
    </field>
    <field name="monthlyPayment" type="float" direct="true">
      <sql name="payment" type="float" dirty="check"/>
    </field>
    <field name="interestRate" type="float" direct="true">
      <sql name="rate" type="float" dirty="check"/>
    </field>
  </class>
</mapping>
