<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: gaoyang 
    $Date: 2014-7-23 上午10:27:13  
    $Revision: 1.0  
    $Purpose: 
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" xmlns:f="leaf.database.features" alias="t1" baseTable="HLS_DOC_LAYOUT_CONFIG_LOV" defaultOrderBy="t1.lov_col_sequence">
    <bm:fields>
        <bm:field name="lov_config_id" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="LOV_CONFIG_ID" prompt="HLS_DOC_LAYOUT_CONFIG_LOV.LOV_CONFIG_ID"/>
        <bm:field name="config_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="CONFIG_ID" prompt="HLS_DOC_LAYOUT_CONFIG_LOV.CONFIG_ID"/>
        <bm:field name="lov_col_name" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="LOV_COL_NAME" prompt="HLS_DOC_LAYOUT_CONFIG_LOV.LOV_COL_NAME"/>
        <bm:field name="lov_col_for_query" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="LOV_COL_FOR_QUERY" prompt="HLS_DOC_LAYOUT_CONFIG_LOV.LOV_COL_FOR_QUERY"/>
        <bm:field name="lov_col_for_display" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="LOV_COL_FOR_DISPLAY" prompt="HLS_DOC_LAYOUT_CONFIG_LOV.LOV_COL_FOR_DISPLAY"/>
        <bm:field name="lov_col_display_width" databaseType="NUMBER" datatype="java.lang.Long" physicalName="LOV_COL_DISPLAY_WIDTH" prompt="HLS_DOC_LAYOUT_CONFIG_LOV.LOV_COL_DISPLAY_WIDTH"/>
        <bm:field name="lov_data_type" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="LOV_DATA_TYPE" prompt="HLS_DOC_LAYOUT_CONFIG_LOV.LOV_DATA_TYPE"/>
        <bm:field name="lov_col_prompt" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="LOV_COL_PROMPT" prompt="HLS_DOC_LAYOUT_CONFIG_LOV.LOV_COL_PROMPT"/>
        <bm:field name="lov_col_sequence" databaseType="NUMBER" datatype="java.lang.Double" physicalName="LOV_COL_SEQUENCE" prompt="HLS_DOC_LAYOUT_CONFIG_LOV.LOV_COL_SEQUENCE"/>
    </bm:fields>
    <bm:features>
        <f:standard-who/>
    </bm:features>
    <bm:primary-key>
        <bm:pk-field name="lov_config_id"/>
    </bm:primary-key>
    <bm:data-filters>
        <bm:data-filter enforceOperations="query" expression="t1.config_id=${@config_id}"/>
    </bm:data-filters>
</bm:model>
