<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: gaoyang 
    $Date: 2014-12-2 下午12:09:51  
    $Revision: 1.0  
    $Purpose: 
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" xmlns:f="leaf.database.features" alias="t1" baseTable="YONDA_HLS_TL_ITFC_LINE">
    <bm:fields>
        <bm:field name="tl_itfc_line_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="TL_ITFC_LINE_ID" prompt="YONDA_HLS_TL_ITFC_LINE.TL_ITFC_LINE_ID"/>
        <bm:field name="sn" databaseType="NUMBER" datatype="java.lang.Long" physicalName="SN" prompt="YONDA_HLS_TL_ITFC_LINE.SN"/>
        <bm:field name="e_user_code" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="E_USER_CODE" prompt="YONDA_HLS_TL_ITFC_LINE.E_USER_CODE"/>
        <bm:field name="bank_code" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="BANK_CODE" prompt="YONDA_HLS_TL_ITFC_LINE.BANK_CODE"/>
        <bm:field name="account_type" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="ACCOUNT_TYPE" prompt="YONDA_HLS_TL_ITFC_LINE.ACCOUNT_TYPE"/>
        <bm:field name="account_no" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="ACCOUNT_NO" prompt="YONDA_HLS_TL_ITFC_LINE.ACCOUNT_NO"/>
        <bm:field name="account_name" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="ACCOUNT_NAME" prompt="YONDA_HLS_TL_ITFC_LINE.ACCOUNT_NAME"/>
        <bm:field name="province" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="PROVINCE" prompt="YONDA_HLS_TL_ITFC_LINE.PROVINCE"/>
        <bm:field name="city" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="CITY" prompt="YONDA_HLS_TL_ITFC_LINE.CITY"/>
        <bm:field name="bank_name" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="BANK_NAME" prompt="YONDA_HLS_TL_ITFC_LINE.BANK_NAME"/>
        <bm:field name="account_prop" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="ACCOUNT_PROP" prompt="YONDA_HLS_TL_ITFC_LINE.ACCOUNT_PROP"/>
        <bm:field name="amount" databaseType="NUMBER" datatype="java.lang.Long" physicalName="AMOUNT" prompt="YONDA_HLS_TL_ITFC_LINE.AMOUNT"/>
        <bm:field name="currency" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="CURRENCY" prompt="YONDA_HLS_TL_ITFC_LINE.CURRENCY"/>
        <bm:field name="protocol" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="PROTOCOL" prompt="YONDA_HLS_TL_ITFC_LINE.PROTOCOL"/>
        <bm:field name="protocol_userid" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="PROTOCOL_USERID" prompt="YONDA_HLS_TL_ITFC_LINE.PROTOCOL_USERID"/>
        <bm:field name="id_type" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="ID_TYPE" prompt="YONDA_HLS_TL_ITFC_LINE.ID_TYPE"/>
        <bm:field name="id" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="ID" prompt="YONDA_HLS_TL_ITFC_LINE.ID"/>
        <bm:field name="tel" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="TEL" prompt="YONDA_HLS_TL_ITFC_LINE.TEL"/>
        <bm:field name="cust_userid" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="CUST_USERID" prompt="YONDA_HLS_TL_ITFC_LINE.CUST_USERID"/>
        <bm:field name="settacct" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="SETTACCT" prompt="YONDA_HLS_TL_ITFC_LINE.SETTACCT"/>
        <bm:field name="remark" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="REMARK" prompt="YONDA_HLS_TL_ITFC_LINE.REMARK"/>
        <bm:field name="settgroupflag" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="SETTGROUPFLAG" prompt="YONDA_HLS_TL_ITFC_LINE.SETTGROUPFLAG"/>
        <bm:field name="summary" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="SUMMARY" prompt="YONDA_HLS_TL_ITFC_LINE.SUMMARY"/>
        <bm:field name="union_bank" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="UNION_BANK" prompt="YONDA_HLS_TL_ITFC_LINE.UNION_BANK"/>
        <bm:field name="cashflow_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="CASHFLOW_ID" prompt="YONDA_HLS_TL_ITFC_LINE.CASHFLOW_ID"/>
        <bm:field name="contract_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="CONTRACT_ID" prompt="YONDA_HLS_TL_ITFC_LINE.CONTRACT_ID"/>
    </bm:fields>
    <bm:features>
        <f:standard-who/>
    </bm:features>
    <bm:primary-key>
        <bm:pk-field name="tl_itfc_line_id"/>
    </bm:primary-key>
    <bm:data-filters>
        <bm:data-filter name="cashflow_id" enforceOperations="(t1.cashflow_id = ${@cashflow_id} or ${@cashflow_id} is null)"/>
        <bm:data-filter name="contract_id" enforceOperations="t1.contract_id = ${@contract_id}"/>
    </bm:data-filters>
</bm:model>
