<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: Clocc  
    $Date: 2015-8-21 下午2:04:17  
    $Revision: 1.0  
    $Purpose: 
-->
<bm:model xmlns:f="leaf.database.features" xmlns:bm="http://www.leaf-framework.org/schema/bm" alias="t1" baseTable="CUS_TOWING_MACHINE_REPORT_LV">
    <bm:fields>
        <bm:field name="contract_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="CONTRACT_ID" prompt="CUS_TOWING_MACHINE_REPORT_LV.CONTRACT_ID"/>
        <bm:field name="contract_number" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="CONTRACT_NUMBER" prompt="CUS_TOWING_MACHINE_REPORT_LV.CONTRACT_NUMBER"/>
        <bm:field name="search_term_1" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="SEARCH_TERM_1" prompt="CUS_TOWING_MACHINE_REPORT_LV.SEARCH_TERM_1"/>
        <bm:field name="legal_way" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="LEGAL_WAY" prompt="CUS_TOWING_MACHINE_REPORT_LV.LEGAL_WAY"/>
        <bm:field name="bp_id_tenant" databaseType="NUMBER" datatype="java.lang.Long" physicalName="BP_ID_TENANT" prompt="CUS_TOWING_MACHINE_REPORT_LV.BP_ID_TENANT"/>
        <bm:field name="bp_id_tenant_n" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="BP_ID_TENANT_N" prompt="CUS_TOWING_MACHINE_REPORT_LV.BP_ID_TENANT_N"/>
        <bm:field name="period_name" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="PERIOD_NAME" prompt="CUS_TOWING_MACHINE_REPORT_LV.PERIOD_NAME"/>
        <bm:field name="serial_number" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="SERIAL_NUMBER" prompt="CUS_TOWING_MACHINE_REPORT_LV.SERIAL_NUMBER"/>
        <bm:field name="lease_start_date" databaseType="DATE" datatype="java.util.Date" physicalName="LEASE_START_DATE" prompt="CUS_TOWING_MACHINE_REPORT_LV.LEASE_START_DATE"/>
        <bm:field name="law_dispose_period" databaseType="DATE" datatype="java.util.Date" physicalName="LAW_DISPOSE_PERIOD" prompt="CUS_TOWING_MACHINE_REPORT_LV.LAW_DISPOSE_PERIOD"/>
        <bm:field name="lease_times" databaseType="NUMBER" datatype="java.lang.Double" physicalName="LEASE_TIMES" prompt="CUS_TOWING_MACHINE_REPORT_LV.LEASE_TIMES"/>
        <bm:field name="finance_amount" databaseType="NUMBER" datatype="java.lang.Double" physicalName="FINANCE_AMOUNT" prompt="CUS_TOWING_MACHINE_REPORT_LV.FINANCE_AMOUNT"/>
        <bm:field name="gross" databaseType="NUMBER" datatype="java.lang.Double" physicalName="GROSS" prompt="CUS_TOWING_MACHINE_REPORT_LV.GROSS"/>
        <bm:field name="net" databaseType="NUMBER" datatype="java.lang.Double" physicalName="NET" prompt="CUS_TOWING_MACHINE_REPORT_LV.NET"/>
        <bm:field name="unearned_income" databaseType="NUMBER" datatype="java.lang.Double" physicalName="UNEARNED_INCOME" prompt="CUS_TOWING_MACHINE_REPORT_LV.UNEARNED_INCOME"/>
        <bm:field name="business_type" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="BUSINESS_TYPE" prompt="CUS_TOWING_MACHINE_REPORT_LV.BUSINESS_TYPE"/>
        <bm:field name="specification" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="SPECIFICATION" prompt="CUS_TOWING_MACHINE_REPORT_LV.SPECIFICATION"/>
        <bm:field name="legal_status" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="LEGAL_STATUS" prompt="CUS_TOWING_MACHINE_REPORT_LV.LEGAL_STATUS"/>
        <bm:field name="vat_flag" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="VAT_FLAG" prompt="CUS_TOWING_MACHINE_REPORT_LV.VAT_FLAG"/>
        <bm:field name="gross_overdue" databaseType="NUMBER" datatype="java.lang.Double" physicalName="GROSS_OVERDUE" prompt="CUS_TOWING_MACHINE_REPORT_LV.GROSS_OVERDUE"/>
        <bm:field name="net_overdue" databaseType="NUMBER" datatype="java.lang.Double" physicalName="NET_OVERDUE" prompt="CUS_TOWING_MACHINE_REPORT_LV.NET_OVERDUE"/>
        <bm:field name="unearned_income_overdue" databaseType="NUMBER" datatype="java.lang.Double" physicalName="UNEARNED_INCOME_OVERDUE" prompt="CUS_TOWING_MACHINE_REPORT_LV.UNEARNED_INCOME_OVERDUE"/>
    </bm:fields>
    <bm:features>
        <f:standard-who/>
    </bm:features>
    <bm:query-fields>
        <bm:query-field field="contract_number" queryOperator="like"/>
        <bm:query-field field="search_term_1" queryOperator="like"/>
        <bm:query-field field="period_name" queryOperator="like"/>
        <bm:query-field field="legal_status" queryOperator="="/>
    </bm:query-fields>
</bm:model>
