<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:o="leaf.database.local.oracle" xmlns:bm="http://www.leaf-framework.org/schema/bm" xmlns:f="leaf.database.features" alias="t1" baseTable="TEST_STUDENT">
    <bm:fields>
        <bm:field name="stu_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="STU_ID" prompt="TEST_STUDENT.STU_ID"/>
        <bm:field name="stu_name" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="STU_NAME" prompt="TEST_STUDENT.STU_NAME"/>
        <bm:field name="stu_age" databaseType="NUMBER" datatype="java.lang.Long" physicalName="STU_AGE" prompt="TEST_STUDENT.STU_AGE"/>
        <bm:field name="stu_sex" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="STU_SEX" prompt="TEST_STUDENT.STU_SEX"/>
        <bm:field name="birth_date" databaseType="DATE" datatype="java.util.Date" physicalName="BIRTH_DATE" prompt="TEST_STUDENT.BIRTH_DATE"/>
    </bm:fields>
    <bm:features>
        <f:standard-who/>
        <o:sequence-pk/>
    </bm:features>
    <bm:primary-key>
        <bm:pk-field name="stu_id"/>
    </bm:primary-key>
    <bm:query-fields>
        <bm:query-field field="stu_name" queryOperator="like"/>
        <bm:query-field name="birth_date_from" queryExpression="t1.birth_date &gt;= to_date(${@birth_date_from},&apos;YYYY-MM-DD&apos;)"/>
        <bm:query-field name="birth_date_to" queryExpression="t1.birth_date &lt;= to_date(${@birth_date_to},&apos;YYYY-MM-DD&apos;)"/>
    </bm:query-fields>
    <!-- <bm:data-filters>
    	<bm:data-filter enforceOperations="query" expression="t1.stu_id=aaaa" />
    </bm:data-filters> -->
</bm:model>
