<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:f="leaf.database.features" xmlns:bm="http://www.leaf-framework.org/schema/bm" alias="t1"
          baseTable="sys_user_v">
    <bm:fields>
        <bm:field name="user_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="user_id"/>
        <!-- <bm:field name="enabled_flag" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="enabled_flag"/> -->
        <bm:field name="user_name" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="user_name"/>
        <bm:field name="description" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="description"/>
        <bm:field name="employee_name" databaseType="VARCHAR2" datatype="java.lang.String"
                  physicalName="employee_name"/>
        <bm:field name="employee_code" databaseType="VARCHAR2" datatype="java.lang.String"
                  physicalName="employee_code"/>
        <bm:field name="lend_time"/>
    </bm:fields>
    <bm:features>
        <f:standard-who/>
    </bm:features>
    <bm:operations>
        <bm:operation name="query">
            <bm:query-sql><![CDATA[
              select user_id,user_name,description,employee_name,employee_code,to_char(sysdate,'yyyy-mm-dd') lend_time   from sys_user_v
            ]]></bm:query-sql>
        </bm:operation>
    </bm:operations>
    <!-- <bm:data-filters>
        <bm:data-filter enforceOperations="query" expression=" t1.ENABLED_FLAG =&apos;Y&apos;"/>
    </bm:data-filters> -->
</bm:model>
