<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: ZLF  
    $Date: 2015-1-2 下午1:18:09  
    $Revision: 1.0  
    $Purpose: 
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" xmlns:f="leaf.database.features" alias="t1" baseTable="SYS_FUNCTION_VL">
    <bm:fields>
        <bm:field name="function_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="FUNCTION_ID" prompt="SYS_FUNCTION_VL.FUNCTION_ID"/>
        <bm:field name="function_code" databaseType="VARCHAR2" datatype="java.lang.String" forDisplay="true" forQuery="true" physicalName="FUNCTION_CODE" prompt="功能号"/>
        <bm:field name="function_name_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="FUNCTION_NAME_ID" prompt="SYS_FUNCTION_VL.FUNCTION_NAME_ID"/>
        <bm:field name="function_name" databaseType="VARCHAR2" datatype="java.lang.String" forDisplay="true" forQuery="true" physicalName="FUNCTION_NAME" prompt="功能名称"/>
        <bm:field name="function_type" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="FUNCTION_TYPE" prompt="SYS_FUNCTION_VL.FUNCTION_TYPE"/>
        <bm:field name="parent_function_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="PARENT_FUNCTION_ID" prompt="SYS_FUNCTION_VL.PARENT_FUNCTION_ID"/>
        <bm:field name="module_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="MODULE_ID" prompt="SYS_FUNCTION_VL.MODULE_ID"/>
        <bm:field name="icon" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="ICON" prompt="SYS_FUNCTION_VL.ICON"/>
        <bm:field name="sequence" databaseType="NUMBER" datatype="java.lang.Long" physicalName="SEQUENCE" prompt="SYS_FUNCTION_VL.SEQUENCE"/>
        <bm:field name="service_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="SERVICE_ID" prompt="SYS_FUNCTION_VL.SERVICE_ID"/>
    </bm:fields>
    <bm:features>
        <f:standard-who/>
    </bm:features>
    <bm:query-fields>
        <bm:query-field field="function_code" queryOperator="like"/>
        <bm:query-field field="function_name" queryOperator="like"/>
    </bm:query-fields>
</bm:model>