<?xml version="1.0" encoding="UTF-8"?> <!-- $Author: ZLF $Date: 2015-1-2 上午11:57:57 $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="HLS_DOCUMENT_FUNCTION" defaultOrderBy="t1.sequence_num asc"> <bm:fields> <bm:field name="record_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="RECORD_ID" prompt="HLS_DOCUMENT_FUNCTION.RECORD_ID"/> <bm:field name="node_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="NODE_ID" prompt="HLS_DOCUMENT_FUNCTION.NODE_ID"/> <bm:field name="sequence_num" databaseType="NUMBER" datatype="java.lang.Long" physicalName="SEQUENCE_NUM" prompt="HLS_DOCUMENT_FUNCTION.SEQUENCE_NUM"/> <bm:field name="function_code" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="FUNCTION_CODE" prompt="HLS_DOCUMENT_FUNCTION.FUNCTION_CODE"/> <bm:field name="document_category" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="DOCUMENT_CATEGORY" prompt="HLS_DOCUMENT_FUNCTION.DOCUMENT_CATEGORY"/> <bm:field name="approve_sql" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="APPROVE_SQL" prompt="HLS_DOCUMENT_FUNCTION.APPROVE_SQL"/> <bm:field name="enabled_flag" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="ENABLED_FLAG" prompt="HLS_DOCUMENT_FUNCTION.ENABLED_FLAG"/> <bm:field name="description" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="DESCRIPTION" prompt="HLS_DOCUMENT_FUNCTION.DESCRIPTION"/> <bm:field name="function_type" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="FUNCTION_TYPE" prompt="HLS_DOCUMENT_FUNCTION.FUNCTION_TYPE"/> <bm:field name="unapprove_sql" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="UNAPPROVE_SQL" prompt="HLS_DOCUMENT_FUNCTION.UNAPPROVE_SQL"/> </bm:fields> <bm:features> <f:standard-who/> <o:sequence-pk/> </bm:features> <bm:query-fields> <bm:query-field field="node_id" queryOperator="="/> </bm:query-fields> <bm:primary-key> <bm:pk-field name="record_id"/> </bm:primary-key> </bm:model>