hls_car_model.lwm 1.03 KB
Newer Older
Spencer Chang's avatar
Spencer Chang committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm">
    <bm:operations>
        <bm:operation name="query">
            <bm:query-sql><![CDATA[select t.model_id    value_code,
       t.description value_name,
       t.series_id,
       t.brand_id,
       t.guide_price
  from hls_car_model t
 where t.enabled_flag = 'Y']]></bm:query-sql>
        </bm:operation>
    </bm:operations>
    <bm:fields>
        <bm:field name="value_code" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="VALUE_CODE"/>
        <bm:field name="value_name" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="VALUE_NAME"/>
        <bm:field name="series_id" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="SERIES_ID"/>
        <bm:field name="brand_id" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="BRAND_ID"/>
        <bm:field name="guide_price" databaseType="NUMBER" datatype="java.lang.Long" physicalName="GUIDE_PRICE"/>        
    </bm:fields>
</bm:model>