134 lines
4.6 KiB
XML
134 lines
4.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
|
|
<hibernate-mapping auto-import="false">
|
|
<class name="com.nationalelectric.greenH5.po.GreenSeekmedicalRecord" table="green_seekmedical_record">
|
|
<comment>green_seekmedical_record</comment>
|
|
<!-- single primaryKey -->
|
|
<id name="id" type="java.lang.Long">
|
|
<column name="ID" length="19"/>
|
|
<generator class="org.hibernate.id.enhanced.TableGenerator">
|
|
<param name="table_name">green_seq</param>
|
|
<param name="segment_column_name">table_name</param>
|
|
<param name="value_column_name">max_id</param>
|
|
<param name="segment_value">GREEN_SEEKMEDICAL_RECORD</param>
|
|
<param name="initial_value">100000</param>
|
|
</generator>
|
|
</id>
|
|
|
|
<property name="projectId" type="long" not-null="false">
|
|
<column name="PROJECT_ID">
|
|
<comment>project_id</comment>
|
|
</column>
|
|
</property>
|
|
|
|
<property name="projectName" type="string" length="50" not-null="false">
|
|
<column name="PROJECT_NAME">
|
|
<comment>project_name</comment>
|
|
</column>
|
|
</property>
|
|
|
|
<property name="projectInfoId" type="long" not-null="false">
|
|
<column name="PROJECT_INFO_ID">
|
|
<comment>project_info_id</comment>
|
|
</column>
|
|
</property>
|
|
|
|
<property name="projectInfoName" type="string" length="50" not-null="false">
|
|
<column name="PROJECT_INFO_NAME">
|
|
<comment>project_info_name</comment>
|
|
</column>
|
|
</property>
|
|
|
|
<property name="applyId" type="string" length="50" not-null="false">
|
|
<column name="APPLY_ID">
|
|
<comment>apply_id</comment>
|
|
</column>
|
|
</property>
|
|
|
|
<property name="applyName" type="string" length="20" not-null="false">
|
|
<column name="APPLY_NAME">
|
|
<comment>apply_name</comment>
|
|
</column>
|
|
</property>
|
|
|
|
<property name="applyDeptId" type="string" length="50" not-null="false">
|
|
<column name="APPLY_DEPT_ID">
|
|
<comment>apply_dept_id</comment>
|
|
</column>
|
|
</property>
|
|
|
|
<property name="applyDeptName" type="string" length="50" not-null="false">
|
|
<column name="APPLY_DEPT_NAME">
|
|
<comment>apply_dept_name</comment>
|
|
</column>
|
|
</property>
|
|
|
|
<property name="applyPhone" type="string" length="20" not-null="false">
|
|
<column name="APPLY_PHONE">
|
|
<comment>apply_phone</comment>
|
|
</column>
|
|
</property>
|
|
|
|
<property name="remark" type="string" length="50" not-null="false">
|
|
<column name="REMARK">
|
|
<comment>remark</comment>
|
|
</column>
|
|
</property>
|
|
|
|
<property name="applyDate" type="string" length="20" not-null="false">
|
|
<column name="APPLY_DATE">
|
|
<comment>apply_date</comment>
|
|
</column>
|
|
</property>
|
|
|
|
<property name="createTime" type="java.util.Date" not-null="false">
|
|
<column name="CREATE_TIME">
|
|
<comment>create_time</comment>
|
|
</column>
|
|
</property>
|
|
|
|
<property name="createBy" type="string" length="50" not-null="false">
|
|
<column name="CREATE_BY">
|
|
<comment>create_by</comment>
|
|
</column>
|
|
</property>
|
|
|
|
<property name="modifyTime" type="java.util.Date" not-null="false">
|
|
<column name="MODIFY_TIME">
|
|
<comment>modify_time</comment>
|
|
</column>
|
|
</property>
|
|
|
|
<property name="modifyBy" type="string" length="50" not-null="false">
|
|
<column name="MODIFY_BY">
|
|
<comment>modify_by</comment>
|
|
</column>
|
|
</property>
|
|
|
|
<property name="isDeleted" type="string" not-null="false">
|
|
<column name="IS_DELETED" sql-type="CHAR(1) default 'N'">
|
|
<comment>is_deleted</comment>
|
|
</column>
|
|
</property>
|
|
<property name="status" type="integer" >
|
|
<column name="status">
|
|
<comment>status</comment>
|
|
</column>
|
|
</property>
|
|
<property name="editOwn" type="integer" >
|
|
<column name="edit_own">
|
|
<comment>edit_own</comment>
|
|
</column>
|
|
</property>
|
|
<property name="editOther" type="integer" >
|
|
<column name="edit_other">
|
|
<comment>edit_other</comment>
|
|
</column>
|
|
</property>
|
|
<property name="commentStatus" type="integer" >
|
|
<column name="comment_status">
|
|
<comment>comment_status</comment>
|
|
</column>
|
|
</property>
|
|
</class>
|
|
</hibernate-mapping> |