<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: yuminhui  
    $Date: 2015-10-21 下午7:44:45  
    $Revision: 1.0  
    $Purpose: 
-->
<bm:model xmlns:f="leaf.database.features" xmlns:bm="http://www.leaf-framework.org/schema/bm" alias="t1" baseTable="HLS_BP_TYPE">
    <bm:fields>
        <bm:field name="bp_type" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="BP_TYPE" prompt="HLS_BP_TYPE.BP_TYPE"/>
        <bm:field name="bp_category" databaseType="VARCHAR2" datatype="java.lang.String" displayWidth="200" forDisplay="true" forQuery="true" physicalName="BP_CATEGORY" prompt="HLS_BP_TYPE.BP_CATEGORY"/>
        <bm:field name="description" databaseType="VARCHAR2" datatype="java.lang.String" displayWidth="200" forDisplay="true" forQuery="true" physicalName="DESCRIPTION" prompt="HLS_BP_TYPE.DESCRIPTION"/>
    </bm:fields>
    <bm:features>
        <f:standard-who/>
    </bm:features>
    <bm:primary-key>
        <bm:pk-field name="bp_type"/>
    </bm:primary-key>
    <bm:query-fields>
        <bm:query-field name="bp_category" queryExpression="tt.contract_number like ${@bp_category}"/>
        <bm:query-field name="description" queryExpression="tt.contract_name like ${@description}"/>
    </bm:query-fields>
</bm:model>
