66 lines
2.4 KiB
Plaintext
66 lines
2.4 KiB
Plaintext
|
|
<?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.GreenFaultReply" table="green_fault_reply">
|
||
|
|
<comment>green_fault_reply</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_FAULT_REPLY</param>
|
||
|
|
<param name="initial_value">100000</param>
|
||
|
|
</generator>
|
||
|
|
</id>
|
||
|
|
<property name="replyContent" type="string" length="225" not-null="false">
|
||
|
|
<column name="REPLY_CONTENT">
|
||
|
|
<comment>回复内容</comment>
|
||
|
|
</column>
|
||
|
|
</property>
|
||
|
|
|
||
|
|
<property name="replyDate" type="java.util.Date" not-null="false">
|
||
|
|
<column name="REPLY_DATE">
|
||
|
|
<comment>回复时间</comment>
|
||
|
|
</column>
|
||
|
|
</property>
|
||
|
|
|
||
|
|
<property name="createBy" type="string" length="50" not-null="false">
|
||
|
|
<column name="CREATE_BY">
|
||
|
|
<comment>回复人</comment>
|
||
|
|
</column>
|
||
|
|
</property>
|
||
|
|
|
||
|
|
<property name="faultId" type="long" not-null="false">
|
||
|
|
<column name="FAULT_ID">
|
||
|
|
<comment>报修id</comment>
|
||
|
|
</column>
|
||
|
|
</property>
|
||
|
|
|
||
|
|
<property name="replyPic1" type="string" length="255" not-null="false">
|
||
|
|
<column name="REPLY_PIC1">
|
||
|
|
<comment>reply_pic1</comment>
|
||
|
|
</column>
|
||
|
|
</property>
|
||
|
|
|
||
|
|
<property name="replyPic1Data" type="string" length="50" not-null="false">
|
||
|
|
<column name="REPLY_PIC1_DATA">
|
||
|
|
<comment>reply_pic1_data</comment>
|
||
|
|
</column>
|
||
|
|
</property>
|
||
|
|
|
||
|
|
<property name="replyPic2" type="string" length="255" not-null="false">
|
||
|
|
<column name="REPLY_PIC2">
|
||
|
|
<comment>reply_pic2</comment>
|
||
|
|
</column>
|
||
|
|
</property>
|
||
|
|
|
||
|
|
<property name="replyPic2Data" type="string" length="50" not-null="false">
|
||
|
|
<column name="REPLY_PIC2_DATA">
|
||
|
|
<comment>reply_pic2_data</comment>
|
||
|
|
</column>
|
||
|
|
</property>
|
||
|
|
|
||
|
|
</class>
|
||
|
|
</hibernate-mapping>
|