<?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_TPL_LN" defaultOrderBy="TO_NUMBER(order_seq)">
    <bm:fields>
        <bm:field name="ln_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="LN_ID" prompt="HN_PRJ_CHECK_BP_TPL_LN.LN_ID"/>
        <bm:field name="template_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="TEMPLATE_ID" prompt="HN_PRJ_CHECK_BP_TPL_LN.TEMPLATE_ID"/>
        <bm:field name="ln_code" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="LN_CODE" prompt="HN_PRJ_CHECK_BP_TPL_LN.LN_CODE"/>
        <bm:field name="order_seq" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="ORDER_SEQ" prompt="HN_PRJ_CHECK_BP_TPL_LN.ORDER_SEQ"/>
        <bm:field name="description" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="DESCRIPTION" prompt="HN_PRJ_CHECK_BP_TPL_LN.DESCRIPTION"/>
        <bm:field name="enabled_flag" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="ENABLED_FLAG" prompt="HN_PRJ_CHECK_BP_TPL_LN.ENABLED_FLAG"/>
    </bm:fields>
    <bm:features>
        <f:standard-who/>
        <o:sequence-pk/>
    </bm:features>
    <bm:primary-key>
        <bm:pk-field name="ln_id"/>
    </bm:primary-key>
    <bm:query-fields>
        <bm:query-field name="template_id" queryExpression="t1.template_id=${@template_id}"/>
        <bm:query-field name="ln_code" queryExpression="t1.ln_code like &apos;%&apos;||${@ln_code}||&apos;%&apos;"/>
        <bm:query-field name="order_seq" queryExpression="t1.order_seq like &apos;%&apos;||${@order_seq}||&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>
