<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: hand  
    $Date: 2016-5-14 下午4:17:30  
    $Revision: 1.0  
    $Purpose: 
-->
<bm:model xmlns:f="leaf.database.features" xmlns:bm="http://www.leaf-framework.org/schema/bm" alias="t1" baseTable="PRJ_CDD_ITEM_DATA_LV">
    <bm:fields>
        <bm:field name="document_table" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="DOCUMENT_TABLE" prompt="PRJ_CDD_ITEM_DATA_LV.DOCUMENT_TABLE"/>
        <bm:field name="contract_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="CONTRACT_ID" prompt="PRJ_CDD_ITEM_DATA_LV.CONTRACT_ID"/>
        <bm:field name="document_category" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="DOCUMENT_CATEGORY" prompt="PRJ_CDD_ITEM_DATA_LV.DOCUMENT_CATEGORY"/>
        <bm:field name="cdd_item_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="CDD_ITEM_ID" prompt="PRJ_CDD_ITEM_DATA_LV.CDD_ITEM_ID"/>
        <bm:field name="cdd_list_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="CDD_LIST_ID" prompt="PRJ_CDD_ITEM_DATA_LV.CDD_LIST_ID"/>
        <bm:field name="cdd_item" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="CDD_ITEM" prompt="PRJ_CDD_ITEM_DATA_LV.CDD_ITEM"/>
        <bm:field name="description" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="DESCRIPTION" prompt="文件名"/>
        <bm:field name="enabled_flag" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="ENABLED_FLAG" prompt="PRJ_CDD_ITEM_DATA_LV.ENABLED_FLAG"/>
        <bm:field name="note" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="NOTE" prompt="PRJ_CDD_ITEM_DATA_LV.NOTE"/>
        <bm:field name="sys_flag" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="SYS_FLAG" prompt="PRJ_CDD_ITEM_DATA_LV.SYS_FLAG"/>
        <bm:field name="paper_required" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="PAPER_REQUIRED" prompt="PRJ_CDD_ITEM_DATA_LV.PAPER_REQUIRED"/>
        <bm:field name="attachment_required" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="ATTACHMENT_REQUIRED" prompt="PRJ_CDD_ITEM_DATA_LV.ATTACHMENT_REQUIRED"/>
        <bm:field name="paper_content_flag" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="PAPER_CONTENT_FLAG" prompt="PRJ_CDD_ITEM_DATA_LV.PAPER_CONTENT_FLAG"/>
        <bm:field name="collection_data_flag" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="COLLECTION_DATA_FLAG" prompt="PRJ_CDD_ITEM_DATA_LV.COLLECTION_DATA_FLAG"/>
        <bm:field name="not_applicable" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="NOT_APPLICABLE" prompt="PRJ_CDD_ITEM_DATA_LV.NOT_APPLICABLE"/>
        <bm:field name="check_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="CHECK_ID" prompt="PRJ_CDD_ITEM_DATA_LV.CHECK_ID"/>
        <bm:field name="order_seq" databaseType="NUMBER" datatype="java.lang.Long" physicalName="ORDER_SEQ" prompt="PRJ_CDD_ITEM_DATA_LV.ORDER_SEQ"/>
        <bm:field name="sign_required_flag" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="SIGN_REQUIRED_FLAG" prompt="PRJ_CDD_ITEM_DATA_LV.SIGN_REQUIRED_FLAG"/>
        <bm:field name="doc_require" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="DOC_REQUIRE" prompt="PRJ_CDD_ITEM_DATA_LV.DOC_REQUIRE"/>
        <bm:field name="doc_type_n" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="DOC_TYPE_N" prompt="PRJ_CDD_ITEM_DATA_LV.DOC_TYPE_N"/>
        <bm:field name="doc_type" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="DOC_TYPE" prompt="PRJ_CDD_ITEM_DATA_LV.DOC_TYPE"/>
        <bm:field name="amount" databaseType="NUMBER" datatype="java.lang.Long" physicalName="AMOUNT" prompt="PRJ_CDD_ITEM_DATA_LV.AMOUNT"/>
        <bm:field name="templet_head_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="TEMPLET_HEAD_ID" prompt="PRJ_CDD_ITEM_DATA_LV.TEMPLET_HEAD_ID"/>
        <bm:field name="lend_flag" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="LEND_FLAG" prompt="PRJ_CDD_ITEM_DATA_LV.LEND_FLAG"/>
    </bm:fields>
    <bm:features>
        <f:standard-who/>
    </bm:features>
    <bm:data-filters>
        <bm:data-filter name="contract_id" expression="t1.contract_id=${@contract_id}"/>
        <bm:data-filter name="doc_type" expression="t1.doc_type=&apos;20&apos;"/>
    </bm:data-filters>
</bm:model>
