<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: Byeongjoon Moon
    $Date: 2018-10-18
    $Revision: 1.0
    $Purpose:
    $ETC: byeongjoon.moon@hlcm.com
-->
<bm:model xmlns:e="leaf.service.exception" xmlns:bm="http://www.leaf-framework.org/schema/bm" xmlns:f="leaf.database.features" alias="t1" baseTable="DS_EXP_TEMPLATE" needAccessControl="false" defaultOrderBy="tpl_no">
    <bm:fields>
        <bm:field name="tpl_no" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="TPL_NO" prompt="Template NO"/>
        <bm:field name="tpl_title" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="TPL_TITLE" prompt="Template Name"/>
        <bm:field name="last_update_user" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="LAST_UPDATED_USER" prompt="Update User"/>
        <bm:field name="last_update_dt" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="LAST_UPDATE_DATE" prompt="Update Date" forUpdate="false" forInsert="false"/>
    </bm:fields>
    <bm:features>
        <f:standard-who/>
    </bm:features>
    <bm:primary-key>
        <bm:pk-field name="tpl_no"/>
    </bm:primary-key>
    <e:exception-descriptor-config>
        <e:exception-descriptor exception="java.sql.SQLException" handleClass="leaf.database.SQLExceptionDescriptor">
            <e:error-message code="1" message="HLS.HLS112_UNIQUE_ERROR"/>
        </e:exception-descriptor>
    </e:exception-descriptor-config>
</bm:model>
