<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:o="leaf.database.local.oracle" xmlns:bm="http://www.leaf-framework.org/schema/bm" xmlns:f="leaf.database.features" alias="t1" baseTable="HN_INTERMEDIARY_HIRED_REQ">
    <bm:fields>
        <bm:field name="hired_req_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="HIRED_REQ_ID" prompt="HN_INTERMEDIARY_HIRED_REQ.HIRED_REQ_ID"/>
        <bm:field name="hired_req_number" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="HIRED_REQ_NUMBER" prompt="HN_INTERMEDIARY_HIRED_REQ.HIRED_REQ_NUMBER"/>
        <bm:field name="hired_req_date" databaseType="DATE" datatype="java.util.Date" physicalName="HIRED_REQ_DATE" prompt="HN_INTERMEDIARY_HIRED_REQ.HIRED_REQ_DATE"/>
        <bm:field name="hired_req_status" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="HIRED_REQ_STATUS" prompt="HN_INTERMEDIARY_HIRED_REQ.HIRED_REQ_STATUS"/>
        <bm:field name="owner_user_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="OWNER_USER_ID" prompt="HN_INTERMEDIARY_HIRED_REQ.OWNER_USER_ID"/>
        <bm:field name="owner_user_phone" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="OWNER_USER_PHONE" prompt="HN_INTERMEDIARY_HIRED_REQ.OWNER_USER_PHONE"/>
        <bm:field name="hired_necessity" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="HIRED_NECESSITY" prompt="HN_INTERMEDIARY_HIRED_REQ.HIRED_NECESSITY"/>
        <bm:field name="bp_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="BP_ID" prompt="HN_INTERMEDIARY_HIRED_REQ.BP_ID"/>
        <bm:field name="bp_branch_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="BP_BRANCH_ID" prompt="HN_INTERMEDIARY_HIRED_REQ.BP_BRANCH_ID"/>
        <bm:field name="bp_branch_phone" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="BP_BRANCH_PHONE" prompt="HN_INTERMEDIARY_HIRED_REQ.BP_BRANCH_PHONE"/>
        <bm:field name="service_matters" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="SERVICE_MATTERS" prompt="HN_INTERMEDIARY_HIRED_REQ.SERVICE_MATTERS"/>
        <bm:field name="job_content" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="JOB_CONTENT" prompt="HN_INTERMEDIARY_HIRED_REQ.JOB_CONTENT"/>
        <bm:field name="service_amount" databaseType="NUMBER" datatype="java.lang.Long" physicalName="SERVICE_AMOUNT" prompt="HN_INTERMEDIARY_HIRED_REQ.SERVICE_AMOUNT"/>
        <bm:field name="vat_service_amount" databaseType="NUMBER" datatype="java.lang.Long" physicalName="VAT_SERVICE_AMOUNT" prompt="HN_INTERMEDIARY_HIRED_REQ.VAT_SERVICE_AMOUNT"/>
        <bm:field name="amount_description" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="AMOUNT_DESCRIPTION" prompt="HN_INTERMEDIARY_HIRED_REQ.AMOUNT_DESCRIPTION"/>
        <bm:field name="work_period" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="WORK_PERIOD" prompt="HN_INTERMEDIARY_HIRED_REQ.WORK_PERIOD"/>
        <bm:field name="description" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="DESCRIPTION" prompt="HN_INTERMEDIARY_HIRED_REQ.DESCRIPTION"/>
        <bm:field name="wfl_instance_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="WFL_INSTANCE_ID" prompt="HN_INTERMEDIARY_HIRED_REQ.WFL_INSTANCE_ID"/>
        <bm:field name="close_reason" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="CLOSE_REASON" prompt="HN_INTERMEDIARY_HIRED_REQ.CLOSE_REASON"/>
        <bm:field name="close_instance_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="CLOSE_INSTANCE_ID" prompt="HN_INTERMEDIARY_HIRED_REQ.CLOSE_INSTANCE_ID"/>
        <bm:field name="data_class" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="DATA_CLASS" prompt="HN_INTERMEDIARY_HIRED_REQ.DATA_CLASS"/>
    </bm:fields>
    <bm:features>
        <f:standard-who/>
        <o:sequence-pk/>
    </bm:features>
    <bm:primary-key>
        <bm:pk-field name="hired_req_id"/>
    </bm:primary-key>
    <bm:query-fields>
        <bm:query-field name="hired_req_id" queryExpression="t1.hired_req_id=${@hired_req_id}"/>
    </bm:query-fields>
</bm:model>
