<?xml version="1.0" encoding="UTF-8"?> <!-- $Author: hand $Date: 2016-6-20 下午1:36:16 $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="CON_COLLECTION_GROUP" needAccessControl="false"> <bm:fields> <bm:field name="group_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="GROUP_ID" prompt="CON_COLLECTION_GROUP.GROUP_ID"/> <bm:field name="type_id" databaseType="NUMBER" datatype="java.lang.Long" forUpdate="false" insertExpression="${../../@type_id}" physicalName="TYPE_ID" prompt="CON_COLLECTION_GROUP.TYPE_ID"/> <bm:field name="group_code" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="GROUP_CODE" prompt="CON_COLLECTION_GROUP.GROUP_CODE"/> <bm:field name="group_name" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="GROUP_NAME" prompt="CON_COLLECTION_GROUP.GROUP_NAME"/> <bm:field name="district" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="DISTRICT" prompt="CON_COLLECTION_GROUP.DISTRICT"/> <bm:field name="note" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="NOTE" prompt="CON_COLLECTION_GROUP.NOTE"/> </bm:fields> <bm:features> <f:standard-who/> <o:sequence-pk/> </bm:features> <bm:primary-key> <bm:pk-field name="group_id"/> </bm:primary-key> <bm:query-fields> <bm:query-field field="type_id" queryOperator="="/> </bm:query-fields> </bm:model>