<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: WangYu  
    $Date: 2014-11-25 上午10:56:01  
    $Revision: 1.0  
    $Purpose: 
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" xmlns:f="leaf.database.features" alias="t1" baseTable="EXP_EMPLOYEE_ASSIGNS_V">
    <bm:fields>
        <bm:field name="employees_assign_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="EMPLOYEES_ASSIGN_ID" prompt="EXP_EMPLOYEE_ASSIGNS_V.EMPLOYEES_ASSIGN_ID"/>
        <bm:field name="enabled_flag" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="ENABLED_FLAG" prompt="EXP_EMPLOYEE_ASSIGNS_V.ENABLED_FLAG"/>
        <bm:field name="primary_position_flag" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="PRIMARY_POSITION_FLAG" prompt="EXP_EMPLOYEE_ASSIGNS_V.PRIMARY_POSITION_FLAG"/>
        <bm:field name="employee_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="EMPLOYEE_ID" prompt="EXP_EMPLOYEE_ASSIGNS_V.EMPLOYEE_ID"/>
        <bm:field name="employee_enabled" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="EMPLOYEE_ENABLED" prompt="EXP_EMPLOYEE_ASSIGNS_V.EMPLOYEE_ENABLED"/>
        <bm:field name="employee_code" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="EMPLOYEE_CODE" prompt="EXP_EMPLOYEE_ASSIGNS_V.EMPLOYEE_CODE"/>
        <bm:field name="employee_name" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="EMPLOYEE_NAME" prompt="EXP_EMPLOYEE_ASSIGNS_V.EMPLOYEE_NAME"/>
        <bm:field name="company_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="COMPANY_ID" prompt="EXP_EMPLOYEE_ASSIGNS_V.COMPANY_ID"/>
        <bm:field name="company_enabled" databaseType="CHAR" datatype="java.lang.String" physicalName="COMPANY_ENABLED" prompt="EXP_EMPLOYEE_ASSIGNS_V.COMPANY_ENABLED"/>
        <bm:field name="company_code" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="COMPANY_CODE" prompt="EXP_EMPLOYEE_ASSIGNS_V.COMPANY_CODE"/>
        <bm:field name="company_short_name" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="COMPANY_SHORT_NAME" prompt="EXP_EMPLOYEE_ASSIGNS_V.COMPANY_SHORT_NAME"/>
        <bm:field name="position_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="POSITION_ID" prompt="EXP_EMPLOYEE_ASSIGNS_V.POSITION_ID"/>
        <bm:field name="position_enabled" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="POSITION_ENABLED" prompt="EXP_EMPLOYEE_ASSIGNS_V.POSITION_ENABLED"/>
        <bm:field name="position_code" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="POSITION_CODE" prompt="EXP_EMPLOYEE_ASSIGNS_V.POSITION_CODE"/>
        <bm:field name="position_type" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="POSITION_TYPE" prompt="EXP_EMPLOYEE_ASSIGNS_V.POSITION_TYPE"/>
        <bm:field name="position_name" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="POSITION_NAME" prompt="EXP_EMPLOYEE_ASSIGNS_V.POSITION_NAME"/>
        <bm:field name="unit_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="UNIT_ID" prompt="EXP_EMPLOYEE_ASSIGNS_V.UNIT_ID"/>
        <bm:field name="unit_enabled" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="UNIT_ENABLED" prompt="EXP_EMPLOYEE_ASSIGNS_V.UNIT_ENABLED"/>
        <bm:field name="unit_code" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="UNIT_CODE" prompt="EXP_EMPLOYEE_ASSIGNS_V.UNIT_CODE"/>
        <bm:field name="unit_name" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="UNIT_NAME" prompt="EXP_EMPLOYEE_ASSIGNS_V.UNIT_NAME"/>
        <bm:field name="employee_job_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="EMPLOYEE_JOB_ID" prompt="EXP_EMPLOYEE_ASSIGNS_V.EMPLOYEE_JOB_ID"/>
        <bm:field name="employee_levels_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="EMPLOYEE_LEVELS_ID" prompt="EXP_EMPLOYEE_ASSIGNS_V.EMPLOYEE_LEVELS_ID"/>
    </bm:fields>
    <bm:query-fields>
        <bm:query-field field="employee_name" queryOperator="like"/>
        <bm:query-field field="company_short_name" queryOperator="like"/>
    </bm:query-fields>
    <bm:features>
        <f:standard-who/>
    </bm:features>
    <bm:data-filters>
        <bm:data-filter enforceOperations="query" expression="t1.unit_code=&apos;06&apos;"/>
    </bm:data-filters>
</bm:model>
