<?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="HN_PRJ_CHECK_BP_TEMPLATE" defaultOrderBy="template_code">
    <bm:fields>
        <bm:field name="template_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="TEMPLATE_ID" prompt="HN_PRJ_CHECK_BP_TEMPLATE.TEMPLATE_ID"/>
        <bm:field name="template_code" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="TEMPLATE_CODE" prompt="HN_PRJ_CHECK_BP_TEMPLATE.TEMPLATE_CODE"/>
        <bm:field name="template_name" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="TEMPLATE_NAME" prompt="HN_PRJ_CHECK_BP_TEMPLATE.TEMPLATE_NAME"/>
        <bm:field name="description" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="DESCRIPTION" prompt="HN_PRJ_CHECK_BP_TEMPLATE.DESCRIPTION"/>
        <bm:field name="enabled_flag" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="ENABLED_FLAG" prompt="HN_PRJ_CHECK_BP_TEMPLATE.ENABLED_FLAG"/>
    </bm:fields>
    <bm:features>
        <f:standard-who/>
        <o:sequence-pk/>
    </bm:features>
    <bm:primary-key>
        <bm:pk-field name="template_id"/>
    </bm:primary-key>
    <bm:query-fields>
        <bm:query-field name="template_code" queryExpression="t1.template_code like &apos;%&apos;||${@template_code}||&apos;%&apos;"/>
        <bm:query-field name="template_name" queryExpression="t1.template_name like &apos;%&apos;||${@template_name}||&apos;%&apos;"/>
        <bm:query-field name="enabled_flag" queryExpression="t1.enabled_flag like &apos;%&apos;||${@enabled_flag}||&apos;%&apos;"/>
        <bm:query-field name="description" queryExpression="t1.description like &apos;%&apos;||${@description}||&apos;%&apos;"/>
    </bm:query-fields>
</bm:model>
