<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:f="leaf.database.features" xmlns:bm="http://www.leaf-framework.org/schema/bm" alias="t1" baseTable="TRE_LOAN_CON_PLAN_DETAIL" needAccessControl="false">
    <bm:fields>
        <bm:field name="widthdrawal_plan_detail_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="WIDTHDRAWAL_PLAN_DETAIL_ID" prompt="TRE_LOAN_CON_PLAN_DETAIL.WIDTHDRAWAL_PLAN_DETAIL_ID"/>
        <bm:field name="widthdrawal_plan_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="WIDTHDRAWAL_PLAN_ID" prompt="TRE_LOAN_CON_PLAN_DETAIL.WIDTHDRAWAL_PLAN_ID"/>
        <bm:field name="loan_contract_num" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="LOAN_CONTRACT_NUM" prompt="TRE_LOAN_CON_PLAN_DETAIL.LOAN_CONTRACT_NUM"/>
        <bm:field name="customer_name" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="CUSTOMER_NAME" prompt="TRE_LOAN_CON_PLAN_DETAIL.CUSTOMER_NAME"/>
        <bm:field name="times" databaseType="NUMBER" datatype="java.lang.Long" physicalName="TIMES" prompt="TRE_LOAN_CON_PLAN_DETAIL.TIMES"/>
        <bm:field name="payment_date" databaseType="DATE" datatype="java.util.Date" physicalName="PAYMENT_DATE" prompt="TRE_LOAN_CON_PLAN_DETAIL.PAYMENT_DATE"/>
        <bm:field name="current_rent" databaseType="NUMBER" datatype="java.lang.Long" physicalName="CURRENT_RENT" prompt="TRE_LOAN_CON_PLAN_DETAIL.CURRENT_RENT"/>
        <bm:field name="current_principal" databaseType="NUMBER" datatype="java.lang.Long" physicalName="CURRENT_PRINCIPAL" prompt="TRE_LOAN_CON_PLAN_DETAIL.CURRENT_PRINCIPAL"/>
        <bm:field name="current_interest" databaseType="NUMBER" datatype="java.lang.Long" physicalName="CURRENT_INTEREST" prompt="TRE_LOAN_CON_PLAN_DETAIL.CURRENT_INTEREST"/>
        <bm:field name="over_principal" databaseType="NUMBER" datatype="java.lang.Long" physicalName="OVER_PRINCIPAL" prompt="TRE_LOAN_CON_PLAN_DETAIL.OVER_PRINCIPAL"/>
        <bm:field name="orer_interest" databaseType="NUMBER" datatype="java.lang.Long" physicalName="ORER_INTEREST" prompt="TRE_LOAN_CON_PLAN_DETAIL.ORER_INTEREST"/>
        <bm:field name="ref_v01" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="REF_V01" prompt="TRE_LOAN_CON_PLAN_DETAIL.REF_V01"/>
        <bm:field name="ref_v02" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="REF_V02" prompt="TRE_LOAN_CON_PLAN_DETAIL.REF_V02"/>
        <bm:field name="ref_v03" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="REF_V03" prompt="TRE_LOAN_CON_PLAN_DETAIL.REF_V03"/>
        <bm:field name="ref_v04" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="REF_V04" prompt="TRE_LOAN_CON_PLAN_DETAIL.REF_V04"/>
        <bm:field name="ref_v05" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="REF_V05" prompt="TRE_LOAN_CON_PLAN_DETAIL.REF_V05"/>
        <bm:field name="ref_n01" databaseType="NUMBER" datatype="java.lang.Long" physicalName="REF_N01" prompt="TRE_LOAN_CON_PLAN_DETAIL.REF_N01"/>
        <bm:field name="ref_n02" databaseType="NUMBER" datatype="java.lang.Long" physicalName="REF_N02" prompt="TRE_LOAN_CON_PLAN_DETAIL.REF_N02"/>
        <bm:field name="ref_n03" databaseType="NUMBER" datatype="java.lang.Long" physicalName="REF_N03" prompt="TRE_LOAN_CON_PLAN_DETAIL.REF_N03"/>
        <bm:field name="ref_n04" databaseType="NUMBER" datatype="java.lang.Long" physicalName="REF_N04" prompt="TRE_LOAN_CON_PLAN_DETAIL.REF_N04"/>
        <bm:field name="ref_n05" databaseType="NUMBER" datatype="java.lang.Long" physicalName="REF_N05" prompt="TRE_LOAN_CON_PLAN_DETAIL.REF_N05"/>
        <bm:field name="ref_d01" databaseType="DATE" datatype="java.util.Date" physicalName="REF_D01" prompt="TRE_LOAN_CON_PLAN_DETAIL.REF_D01"/>
        <bm:field name="ref_d02" databaseType="DATE" datatype="java.util.Date" physicalName="REF_D02" prompt="TRE_LOAN_CON_PLAN_DETAIL.REF_D02"/>
        <bm:field name="ref_d03" databaseType="DATE" datatype="java.util.Date" physicalName="REF_D03" prompt="TRE_LOAN_CON_PLAN_DETAIL.REF_D03"/>
        <bm:field name="ref_d04" databaseType="DATE" datatype="java.util.Date" physicalName="REF_D04" prompt="TRE_LOAN_CON_PLAN_DETAIL.REF_D04"/>
        <bm:field name="ref_d05" databaseType="DATE" datatype="java.util.Date" physicalName="REF_D05" prompt="TRE_LOAN_CON_PLAN_DETAIL.REF_D05"/>
    </bm:fields>
    <bm:features>
        <f:standard-who/>
    </bm:features>
    <bm:primary-key>
        <bm:pk-field name="widthdrawal_plan_detail_id"/>
    </bm:primary-key>
    <bm:data-filters>
        <bm:data-filter name="widthdrawal_plan_id" expression="t1.widthdrawal_plan_id=${/parameter/@widthdrawal_plan_id}"/>
    </bm:data-filters>
</bm:model>
