<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm">
    <bm:operations>
        <bm:operation name="query">
            <bm:query-sql><![CDATA[
                SELECT
                    t.expense_item_id,
                    t.expense_item_code,
                    t.expense_item_desc
                FROM
                    exp_expense_items t
                WHERE
                    t.enabled_flag = 'Y'
            ]]></bm:query-sql>
        </bm:operation>
    </bm:operations>
    <bm:fields>
        <bm:field name="expense_item_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="EXPENSE_ITEM_ID"/>
        <bm:field name="expense_item_code" databaseType="VARCHAR2" datatype="java.lang.String" displayWidth="210" forDisplay="true" forQuery="true" physicalName="EXPENSE_ITEM_CODE" prompt="类型代码"/>
        <bm:field name="expense_item_desc" databaseType="VARCHAR2" datatype="java.lang.String" displayWidth="210" forDisplay="true" forQuery="true" physicalName="EXPENSE_ITEM_DESC" prompt="类型描述"/>
    </bm:fields>
    <bm:query-fields>
        <bm:query-field field="expense_item_code" queryOperator="like"/>
        <bm:query-field field="expense_item_desc" queryOperator="like"/>
    </bm:query-fields>
</bm:model>
