<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: qm  
    $Date: 2014-4-18 下午5:37:21  
    $Revision: 1.0  
    $Purpose: 
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" xmlns:f="leaf.database.features" alias="t1" baseTable="HLS_CAR_BRANDS">
    <bm:fields>
        <bm:field name="brand_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="BRAND_ID" prompt="HLS_CAR_BRANDS.BRAND_ID"/>
        <bm:field name="brand_code" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="BRAND_CODE" prompt="HLS_CAR_BRANDS.BRAND_CODE"/>
        <bm:field name="description_id" databaseType="NUMBER" datatype="java.lang.Long" multiLanguage="true" multiLanguageDescField="brand_dis" physicalName="DESCRIPTION_ID" prompt="HLS_CAR_BRANDS.DESCRIPTION_ID"/>
        <bm:field name="enabled_flag" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="ENABLED_FLAG" prompt="HLS_CAR_BRANDS.ENABLED_FLAG"/>
        <bm:field name="brand_dis" databaseType="VARCHAR" datatype="java.lang.String" forInsert="false" forUpdate="false" prompt="HLS_CAR_BRANDS.DESCRIPTION"/>
    </bm:fields>
    <bm:features>
        <f:standard-who/>
        <f:multi-language-storage/>
    </bm:features>
    <bm:primary-key>
        <bm:pk-field name="brand_id"/>
    </bm:primary-key>
    <bm:data-filters>
        <bm:data-filter name="enabled_flag" enforceOperations="query" expression="enabled_flag=&apos;Y&apos;"/>
    </bm:data-filters>
</bm:model>
