<?xml version="1.0" encoding="UTF-8"?> <!-- $Author: gaoyang $Date: 2013-11-6 上午10:53:36 $Revision: 1.0 $Purpose: --> <bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" xmlns:f="leaf.database.features" alias="t1" baseTable="FND_COMPANY_REGULATIONS" needAccessControl="false"> <bm:fields> <bm:field name="record_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="RECORD_ID" prompt="FND_COMPANY_REGULATIONS.RECORD_ID"/> <bm:field name="company_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="COMPANY_ID" prompt="FND_COMPANY_REGULATIONS.COMPANY_ID"/> <bm:field name="description" databaseType="CLOB" datatype="java.sql.Clob" physicalName="DESCRIPTION" prompt="FND_COMPANY_REGULATIONS.DESCRIPTION"/> </bm:fields> <bm:features> <f:standard-who/> </bm:features> <bm:primary-key> <bm:pk-field name="record_id"/> </bm:primary-key> <bm:data-filters> <bm:data-filter enforceOperations="query" expression="t1.company_id=${/session/@company_id}"/> </bm:data-filters> </bm:model>