<?xml version="1.0" encoding="UTF-8"?> <!-- $Author: hand $Date: 2016-5-20 上午10:56:15 $Revision: 1.0 $Purpose: --> <bm:model xmlns:f="leaf.database.features" xmlns:bm="http://www.leaf-framework.org/schema/bm" alias="t1" baseTable="SYS_USER"> <bm:fields> <bm:field name="user_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="USER_ID" prompt="SYS_USER.USER_ID"/> <bm:field name="user_name" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="USER_NAME" prompt="SYS_USER.USER_NAME"/> <bm:field name="encrypted_foundation_password" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="ENCRYPTED_FOUNDATION_PASSWORD" prompt="SYS_USER.ENCRYPTED_FOUNDATION_PASSWORD"/> <bm:field name="encrypted_user_password" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="ENCRYPTED_USER_PASSWORD" prompt="SYS_USER.ENCRYPTED_USER_PASSWORD"/> <bm:field name="start_date" databaseType="DATE" datatype="java.util.Date" physicalName="START_DATE" prompt="SYS_USER.START_DATE"/> <bm:field name="end_date" databaseType="DATE" datatype="java.util.Date" physicalName="END_DATE" prompt="SYS_USER.END_DATE"/> <bm:field name="last_logon_date" databaseType="DATE" datatype="java.util.Date" physicalName="LAST_LOGON_DATE" prompt="SYS_USER.LAST_LOGON_DATE"/> <bm:field name="description" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="DESCRIPTION" prompt="SYS_USER.DESCRIPTION"/> <bm:field name="password_lifespan_days" databaseType="NUMBER" datatype="java.lang.Long" physicalName="PASSWORD_LIFESPAN_DAYS" prompt="SYS_USER.PASSWORD_LIFESPAN_DAYS"/> <bm:field name="password_lifespan_access" databaseType="NUMBER" datatype="java.lang.Long" physicalName="PASSWORD_LIFESPAN_ACCESS" prompt="SYS_USER.PASSWORD_LIFESPAN_ACCESS"/> <bm:field name="employee_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="EMPLOYEE_ID" prompt="SYS_USER.EMPLOYEE_ID"/> <bm:field name="customer_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="CUSTOMER_ID" prompt="SYS_USER.CUSTOMER_ID"/> <bm:field name="vender_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="VENDER_ID" prompt="SYS_USER.VENDER_ID"/> <bm:field name="frozen_flag" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="FROZEN_FLAG" prompt="SYS_USER.FROZEN_FLAG"/> <bm:field name="frozen_date" databaseType="DATE" datatype="java.util.Date" physicalName="FROZEN_DATE" prompt="SYS_USER.FROZEN_DATE"/> <bm:field name="password_start_date" databaseType="DATE" datatype="java.util.Date" physicalName="PASSWORD_START_DATE" prompt="SYS_USER.PASSWORD_START_DATE"/> <bm:field name="menu_type" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="MENU_TYPE" prompt="SYS_USER.MENU_TYPE"/> <bm:field name="bp_category" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="BP_CATEGORY" prompt="SYS_USER.BP_CATEGORY"/> <bm:field name="bp_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="BP_ID" prompt="SYS_USER.BP_ID"/> </bm:fields> <bm:features> <f:standard-who/> </bm:features> <bm:primary-key> <bm:pk-field name="user_id"/> </bm:primary-key> <bm:query-fields> <bm:query-field name="user_id" queryExpression="t1.user_id=${@user_id}"/> </bm:query-fields> </bm:model>