<?xml version="1.0" encoding="UTF-8"?> <!-- $Author: niujiaqing1265 $ $Date: 2010/12/09 05:48:38 $ $Revision: 1.2 $ $Purpose: 对应“gld_account_hierarchy”表的bm文件 --> <ns1:model xmlns:ns2="leaf.database.local.oracle" xmlns:ns1="http://www.leaf-framework.org/schema/bm" xmlns:f="leaf.database.features" alias="gah" baseTable="GLD_ACCOUNT_HIERARCHY"> <ns1:fields> <ns1:field databaseType="NUMBER" datatype="java.lang.Long" name="account_hierarchy_id"/> <ns1:field databaseType="NUMBER" datatype="java.lang.Long" name="account_set_id"/> <ns1:field databaseType="NUMBER" datatype="java.lang.Long" name="parent_account_id"/> <ns1:field databaseType="VARCHAR2" datatype="java.lang.String" name="sub_account_code"/> <ns1:field databaseType="VARCHAR2" datatype="java.lang.String" name="from_account_code"/> <ns1:field databaseType="VARCHAR2" datatype="java.lang.String" name="to_account_code"/> </ns1:fields> <ns1:primary-key> <ns1:pk-field name="account_hierarchy_id"/> </ns1:primary-key> <ns1:query-fields> <ns1:query-field field="parent_account_id" queryOperator="="/> </ns1:query-fields> <ns1:features> <ns2:sequence-pk/> <f:standard-who/> </ns1:features> <ns1:ref-fields/> </ns1:model>