<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" xmlns:f="leaf.database.features" alias="t1" baseTable="hls_EXCEL_TEMPLETE_LN" defaultOrderBy="seq_no">
    <bm:fields>
        <bm:field name="ln_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="LN_ID" prompt="hls_EXCEL_TEMPLETE_LN.LN_ID"/>
        <bm:field name="hd_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="HD_ID" prompt="hls_EXCEL_TEMPLETE_LN.HD_ID"/>
        <bm:field name="field_name" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="FIELD_NAME" prompt="hls_EXCEL_TEMPLETE_LN.FIELD_NAME"/>
        <bm:field name="filed_desc" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="FILED_DESC" prompt="hls_EXCEL_TEMPLETE_LN.FILED_DESC"/>
        <bm:field name="field_query" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="FIELD_QUERY" prompt="hls_EXCEL_TEMPLETE_LN.FIELD_QUERY"/>
        <bm:field name="sheet_row" databaseType="NUMBER" datatype="java.lang.Long" physicalName="SHEET_ROW" prompt="hls_EXCEL_TEMPLETE_LN.SHEET_ROW"/>
        <bm:field name="sheet_column" databaseType="NUMBER" datatype="java.lang.Long" physicalName="SHEET_COLUMN" prompt="hls_EXCEL_TEMPLETE_LN.SHEET_COLUMN"/>
        <bm:field name="primary_flag"/>
        <bm:field name="seq_no"/>
        <bm:field name="read_flag"/>
        <bm:field name="write_flag"/>
    </bm:fields>
    <bm:features>
        <f:standard-who/>
    </bm:features>
    <bm:primary-key>
        <bm:pk-field name="ln_id"/>
    </bm:primary-key>
    <bm:query-fields>
        <bm:query-field name="hd_id" queryExpression="t1.hd_id=${@hd_id}"/>
        <bm:query-field name="read_flag" queryExpression="t1.read_flag=${@read_flag}"/>
        <bm:query-field name="write_flag" queryExpression="t1.write_flag=${@write_flag}"/>
    </bm:query-fields>
</bm:model>