<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: wujun  
    $Date: 2016年11月1日15:40:53
    $Revision: 1.0  
    $Purpose: 项目管理要求预定义
-->
<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_MANAGE_REQUIRE_TEMPLATE">
    <bm:fields>
        <bm:field name="template_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="TEMPLATE_ID" prompt="HN_MANAGE_REQUIRE_TEMPLATE.TEMPLATE_ID"/>
        <bm:field name="template_code" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="TEMPLATE_CODE" prompt="HN_MANAGE_REQUIRE_TEMPLATE.TEMPLATE_CODE"/>
        <bm:field name="enabled_flag" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="ENABLED_FLAG" prompt="HN_MANAGE_REQUIRE_TEMPLATE.ENABLED_FLAG"/>
        <bm:field name="manage_require" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="MANAGE_REQUIRE" prompt="HN_MANAGE_REQUIRE_TEMPLATE.MANAGE_REQUIRE"/>
    </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="enabled_flag" queryExpression="t1.enabled_flag like &apos;%&apos;||${@enabled_flag}||&apos;%&apos;"/>
        <bm:query-field name="manage_require" queryExpression="t1.manage_require like &apos;%&apos;||${@manage_require}||&apos;%&apos;"/>
    </bm:query-fields>
</bm:model>
