<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: hand  
    $Date: 2016-3-31 下午2:59:38  
    $Revision: 1.0  
    $Purpose: 
-->
<bm:model xmlns:o="leaf.database.local.oracle" xmlns:f="leaf.database.features" xmlns:bm="http://www.leaf-framework.org/schema/bm" alias="t1" baseTable="PRJ_PROJECT_FAMILY_VISIT" needAccessControl="false">
    <bm:fields>
        <bm:field name="project_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="PROJECT_ID" prompt="PRJ_PROJECT_FAMILY_VISIT.PROJECT_ID"/>
        <bm:field name="family_visit_id" databaseType="NUMBER" datatype="java.lang.Long" physicalName="FAMILY_VISIT_ID" prompt="PRJ_PROJECT_FAMILY_VISIT.FAMILY_VISIT_ID"/>
        <bm:field name="opinion" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="OPINION" prompt="PRJ_PROJECT_FAMILY_VISIT.OPINION"/>
        <bm:field name="feedback" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="FEEDBACK" prompt="PRJ_PROJECT_FAMILY_VISIT.FEEDBACK"/>
    </bm:fields>
    <bm:features>
        <f:standard-who/>
        <o:sequence-pk/>
    </bm:features>
    <bm:primary-key>
        <bm:pk-field name="family_visit_id"/>
    </bm:primary-key>
    <bm:query-fields>
        <bm:query-field name="project_id" queryExpression="t1.project_id=${@project_id}"/>
    </bm:query-fields>
</bm:model>
