<?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 
				    cm.model_id code,
				    cm.description  code_name,
				    cm.price guide_price
				  from hls_car_model_vl cm 
				  where cm.enabled_flag ='Y'
				and cm.series_id = ${@code}
            ]]></bm:query-sql>
        </bm:operation>
    </bm:operations>
    <bm:fields>
        <bm:field name="code" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="CODE" required="true"/>
        <bm:field name="code_name" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="NAME"/>
        <bm:field name="guide_price"/>
    </bm:fields>
</bm:model>
