<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: Leaf Generator
    $Date: Tue Sep 04 13:07:01 CST 2018  
    $Revision: 1.0  
    $Purpose: 
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" xmlns:e="leaf.service.exception" xmlns:o="leaf.database.local.oracle" xmlns:f="leaf.database.features" alias="t1" baseTable="hls_business_type" needAccessControl="false">
    <bm:fields>
        <bm:field name="business_type" />
        <bm:field name="description" />
    </bm:fields>
    <bm:features>
        <f:standard-who xmlns:f="leaf.database.features"/>
    </bm:features>
    <bm:operations>
        <bm:operation name="query">
            <bm:query-sql><![CDATA[
                SELECT business_type,description
                 FROM hls_business_type hbt
                 where hbt.business_type = 'LEASE' or  hbt.business_type = 'LEASEBACK'
            ]]></bm:query-sql>
        </bm:operation>
    </bm:operations>
</bm:model>