<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: mumu  
    $Date: 2013-10-16 下午05:04:12  
    $Revision: 1.0  
    $Purpose: 
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" alias="t1" baseTable="con_contract_rp_ln" defaultOrderBy="rp_agreement_ln_id">
    <bm:fields>
        <bm:field name="rp_agreement_ln_id"/>
        <bm:field name="rp_agreement_id"/>
        <bm:field name="due_amount"/>
        <bm:field name="amount"/>
    </bm:fields>
    <bm:primary-key>
        <bm:pk-field name="rp_agreement_ln_id"/>
    </bm:primary-key>
    <bm:query-fields>
        <bm:query-field name="rp_agreement_id" queryExpression="t1.rp_agreement_id=$(@rp_agreement_id)"/>
    </bm:query-fields>
</bm:model>
