<?xml version="1.0" encoding="UTF-8"?> <!-- $Author: gaoyang $Date: 2013-9-22 下午02:29:22 $Revision: 1.0 $Purpose: --> <bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" xmlns:f="leaf.database.features" alias="t1" baseTable="PRJ_QUOTATION"> <bm:fields> <bm:field name="quotation_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="QUOTATION_ID" prompt="PRJ_QUOTATION.QUOTATION_ID"/> <bm:field name="document_category" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="DOCUMENT_CATEGORY" prompt="PRJ_QUOTATION.DOCUMENT_CATEGORY"/> <bm:field name="document_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="DOCUMENT_ID" prompt="PRJ_QUOTATION.DOCUMENT_ID"/> <bm:field name="calc_session_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="CALC_SESSION_ID" prompt="PRJ_QUOTATION.CALC_SESSION_ID"/> <bm:field name="quotation_date" databaseType="DATE" datatype="java.util.Date" physicalName="QUOTATION_DATE" prompt="HLS.CACULATE_DATE"/> <bm:field name="quotation_type" databaseType="VARCHAR2" datatype="java.lang.String" lookupCode="PRJ501_CACULATE_TYPE" lookupField="quotation_type_desc" physicalName="QUOTATION_TYPE" prompt="HLS.QUOTATION_TYPE"/> <bm:field name="quotation_type_desc" forInsert="false" forUpdate="false" prompt="HLS.QUOTATION_TYPE"/> <bm:field name="version" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="VERSION" prompt="HLS.QUOTATION_VERSION"/> <bm:field name="text" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="TEXT" prompt="HLS.COMMENT"/> <bm:field name="contract_seq" databaseType="NUMBER" datatype="java.lang.Long" physicalName="CONTRACT_SEQ" prompt="HLS.CONTRACT_SEQ"/> <bm:field name="internal_confirm" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="INTERNAL_CONFIRM" prompt="PRJ_QUOTATION.INTERNAL_CONFIRM"/> <bm:field name="external_confirm" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="EXTERNAL_CONFIRM" prompt="PRJ_QUOTATION.EXTERNAL_CONFIRM"/> <bm:field name="enabled_flag" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="ENABLED_FLAG" prompt="HLS.ENABLED_FLAG"/> <bm:field name="ref_v01" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="REF_V01" prompt="PRJ_QUOTATION.REF_V01"/> <bm:field name="ref_v02" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="REF_V02" prompt="PRJ_QUOTATION.REF_V02"/> <bm:field name="ref_v03" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="REF_V03" prompt="PRJ_QUOTATION.REF_V03"/> <bm:field name="ref_v04" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="REF_V04" prompt="PRJ_QUOTATION.REF_V04"/> <bm:field name="ref_v05" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="REF_V05" prompt="PRJ_QUOTATION.REF_V05"/> <bm:field name="ref_n01" databaseType="NUMBER" datatype="java.lang.Long" physicalName="REF_N01" prompt="PRJ_QUOTATION.REF_N01"/> <bm:field name="ref_n02" databaseType="NUMBER" datatype="java.lang.Long" physicalName="REF_N02" prompt="PRJ_QUOTATION.REF_N02"/> <bm:field name="ref_n03" databaseType="NUMBER" datatype="java.lang.Long" physicalName="REF_N03" prompt="PRJ_QUOTATION.REF_N03"/> <bm:field name="ref_n04" databaseType="NUMBER" datatype="java.lang.Long" physicalName="REF_N04" prompt="PRJ_QUOTATION.REF_N04"/> <bm:field name="ref_n05" databaseType="NUMBER" datatype="java.lang.Long" physicalName="REF_N05" prompt="PRJ_QUOTATION.REF_N05"/> <bm:field name="ref_d01" databaseType="DATE" datatype="java.util.Date" physicalName="REF_D01" prompt="PRJ_QUOTATION.REF_D01"/> <bm:field name="ref_d02" databaseType="DATE" datatype="java.util.Date" physicalName="REF_D02" prompt="PRJ_QUOTATION.REF_D02"/> <bm:field name="ref_d03" databaseType="DATE" datatype="java.util.Date" physicalName="REF_D03" prompt="PRJ_QUOTATION.REF_D03"/> <bm:field name="ref_d04" databaseType="DATE" datatype="java.util.Date" physicalName="REF_D04" prompt="PRJ_QUOTATION.REF_D04"/> <bm:field name="ref_d05" databaseType="DATE" datatype="java.util.Date" physicalName="REF_D05" prompt="PRJ_QUOTATION.REF_D05"/> <bm:field name="create_contract_flag" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="CREATE_CONTRACT_FLAG" prompt="PRJ_QUOTATION.CREATE_CONTRACT_FLAG"/> <bm:field name="currency_precision" databaseType="NUMBER" datatype="java.lang.Long" physicalName="CURRENCY_PRECISION" prompt="PRJ_QUOTATION.CURRENCY_PRECISION"/> <bm:field name="finance_amount" databaseType="NUMBER" datatype="java.lang.Double" physicalName="FINANCE_AMOUNT" prompt="PRJ_QUOTATION.FINANCE_AMOUNT"/> <bm:field name="currency" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="CURRENCY" prompt="PRJ_QUOTATION.CURRENCY"/> <bm:field name="lease_start_date" databaseType="DATE" datatype="java.util.Date" physicalName="LEASE_START_DATE" prompt="PRJ_QUOTATION.LEASE_START_DATE"/> <bm:field name="price_list" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="PRICE_LIST" prompt="PRJ_QUOTATION.PRICE_LIST"/> <bm:field name="lease_times" databaseType="NUMBER" datatype="java.lang.Long" physicalName="LEASE_TIMES" prompt="PRJ_QUOTATION.LEASE_TIMES"/> <bm:field name="annual_pay_times" databaseType="NUMBER" datatype="java.lang.Long" physicalName="ANNUAL_PAY_TIMES" prompt="PRJ_QUOTATION.ANNUAL_PAY_TIMES"/> <bm:field name="down_payment" databaseType="NUMBER" datatype="java.lang.Double" physicalName="DOWN_PAYMENT" prompt="PRJ_QUOTATION.DOWN_PAYMENT"/> <bm:field name="company_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="COMPANY_ID" prompt="PRJ_QUOTATION.COMPANY_ID"/> </bm:fields> <bm:features> <f:standard-who/> </bm:features> <bm:primary-key> <bm:pk-field name="quotation_id"/> </bm:primary-key> </bm:model>