con_collection_tool.lwm 1.99 KB
Newer Older
Spencer Chang's avatar
Spencer Chang committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
<?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="CON_COLLECTION_TOOL">
    <bm:fields>
        <bm:field name="collection_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="COLLECTION_ID" prompt="CON_COLLECTION_TOOL.COLLECTION_ID"/>
        <bm:field name="contract_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="CONTRACT_ID" prompt="CON_COLLECTION_TOOL.CONTRACT_ID"/>
        <bm:field name="project_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="PROJECT_ID" prompt="CON_COLLECTION_TOOL.PROJECT_ID"/>
        <bm:field name="collection_tool" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="COLLECTION_TOOL" prompt="CON_COLLECTION_TOOL.COLLECTION_TOOL"/>
        <bm:field name="collection_measures" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="COLLECTION_MEASURES" prompt="CON_COLLECTION_TOOL.COLLECTION_MEASURES"/>
        <bm:field name="visit_address" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="VISIT_ADDRESS" prompt="CON_COLLECTION_TOOL.VISIT_ADDRESS"/>
        <bm:field name="province" databaseType="NUMBER" datatype="java.lang.Long" physicalName="PROVINCE" prompt="CON_COLLECTION_TOOL.PROVINCE"/>
        <bm:field name="city" databaseType="NUMBER" datatype="java.lang.Long" physicalName="CITY" prompt="CON_COLLECTION_TOOL.CITY"/>
        <bm:field name="detailed_address" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="DETAILED_ADDRESS" prompt="CON_COLLECTION_TOOL.DETAILED_ADDRESS"/>
        <bm:field name="enabled_flag" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="ENABLED_FLAG" prompt="CON_COLLECTION_TOOL.ENABLED_FLAG"/>
    </bm:fields>
    <bm:features>
        <f:standard-who/>
        <o:sequence-pk/>
    </bm:features>
    <bm:primary-key>
        <bm:pk-field name="collection_id"/>
    </bm:primary-key>
</bm:model>