<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" xmlns:f="leaf.database.features" alias="t1" baseTable="HLS_BP_MASTER_PLEDGER_ORG_LV">
    <bm:fields>
        <bm:field name="contract_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="CONTRACT_ID" prompt="HLS_BP_MASTER_PLEDGER_ORG_LV.CONTRACT_ID"/>
        <bm:field name="bp_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="BP_ID" prompt="HLS_BP_MASTER_PLEDGER_ORG_LV.BP_ID"/>
        <bm:field name="bp_code" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="BP_CODE" prompt="HLS_BP_MASTER_PLEDGER_ORG_LV.BP_CODE"/>
        <bm:field name="bp_seq" expression="(select count(*)+1 from HLS_BP_MASTER_PLEDGER_NP_LV t where t.contract_id=${@contract_id})"/>
        <bm:field name="bp_name" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="BP_NAME" prompt="HLS_BP_MASTER_PLEDGER_ORG_LV.BP_NAME"/>
        <bm:field name="bp_class" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="BP_CLASS" prompt="HLS_BP_MASTER_PLEDGER_ORG_LV.BP_CLASS"/>
        <bm:field name="bp_category" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="BP_CATEGORY" prompt="HLS_BP_MASTER_PLEDGER_ORG_LV.BP_CATEGORY"/>
        <bm:field name="legal_person" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="LEGAL_PERSON" prompt="HLS_BP_MASTER_PLEDGER_ORG_LV.LEGAL_PERSON"/>
        <bm:field name="registered_place" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="REGISTERED_PLACE" prompt="HLS_BP_MASTER_PLEDGER_ORG_LV.REGISTERED_PLACE"/>
        <bm:field name="email" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="EMAIL" prompt="HLS_BP_MASTER_PLEDGER_ORG_LV.EMAIL"/>
        <bm:field name="doc_sent_place" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="DOC_SENT_PLACE" prompt="HLS_BP_MASTER_PLEDGER_ORG_LV.DOC_SENT_PLACE"/>
        <bm:field name="contact_person" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="CONTACT_PERSON" prompt="HLS_BP_MASTER_PLEDGER_ORG_LV.CONTACT_PERSON"/>
        <bm:field name="phone" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="PHONE" prompt="HLS_BP_MASTER_PLEDGER_ORG_LV.PHONE"/>
        <bm:field name="fax" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="FAX" prompt="HLS_BP_MASTER_PLEDGER_ORG_LV.FAX"/>
        <bm:field name="send_email" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="SEND_EMAIL" prompt="HLS_BP_MASTER_PLEDGER_ORG_LV.SEND_EMAIL"/>
        <bm:field name="send_phone" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="SEND_PHONE" prompt="HLS_BP_MASTER_PLEDGER_ORG_LV.SEND_PHONE"/>
        <bm:field name="send_fax" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="SEND_FAX" prompt="HLS_BP_MASTER_PLEDGER_ORG_LV.SEND_FAX"/>
        <!-- <bm:field name="mortgagor_name" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="MORTGAGOR_NAME" prompt="HLS_BP_MASTER_PLEDGER_ORG_LV.MORTGAGOR_NAME"/>
        <bm:field name="evaluator_name" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="EVALUATOR_NAME" prompt="HLS_BP_MASTER_PLEDGER_ORG_LV.EVALUATOR_NAME"/>
        <bm:field name="evaluator_number" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="EVALUATOR_NUMBER" prompt="HLS_BP_MASTER_PLEDGER_ORG_LV.EVALUATOR_NUMBER"/>
        <bm:field name="total_value" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="TOTAL_VALUE" prompt="HLS_BP_MASTER_PLEDGER_ORG_LV.TOTAL_VALUE"/>
        <bm:field name="total_value_rmb" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="TOTAL_VALUE_RMB" prompt="HLS_BP_MASTER_PLEDGER_ORG_LV.TOTAL_VALUE_RMB"/>
        <bm:field name="fair_value" databaseType="NUMBER" datatype="java.lang.Long" physicalName="FAIR_VALUE" prompt="HLS_BP_MASTER_PLEDGER_ORG_LV.FAIR_VALUE"/>
        <bm:field name="value" databaseType="NUMBER" datatype="java.lang.Long" physicalName="VALUE" prompt="HLS_BP_MASTER_PLEDGER_ORG_LV.VALUE"/>
        <bm:field name="company_name_stock" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="COMPANY_NAME_STOCK" prompt="HLS_BP_MASTER_PLEDGER_ORG_LV.COMPANY_NAME_STOCK"/>
        <bm:field name="stock_ratio" databaseType="NUMBER" datatype="java.lang.Long" physicalName="STOCK_RATIO" prompt="HLS_BP_MASTER_PLEDGER_ORG_LV.STOCK_RATIO"/>
        <bm:field name="value_rmb" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="VALUE_RMB" prompt="HLS_BP_MASTER_PLEDGER_ORG_LV.VALUE_RMB"/> -->
    </bm:fields>
    <bm:features>
        <f:standard-who/>
    </bm:features>
</bm:model>
