73 lines
2.5 KiB
Plaintext
73 lines
2.5 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.GreenProblemCollect" table="green_problem_collect">
|
||
|
|
<comment>green_problem_collect</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_PROBLEM_COLLECT</param>
|
||
|
|
<param name="initial_value">10000</param>
|
||
|
|
</generator>
|
||
|
|
</id>
|
||
|
|
|
||
|
|
<property name="content" type="string" length="255" not-null="false">
|
||
|
|
<column name="CONTENT">
|
||
|
|
<comment>content</comment>
|
||
|
|
</column>
|
||
|
|
</property>
|
||
|
|
|
||
|
|
<property name="pic1" type="string" length="100" not-null="false">
|
||
|
|
<column name="PIC1">
|
||
|
|
<comment>pic1</comment>
|
||
|
|
</column>
|
||
|
|
</property>
|
||
|
|
|
||
|
|
<property name="pic1Data" type="string" length="100" not-null="false">
|
||
|
|
<column name="PIC1_DATA">
|
||
|
|
<comment>pic1_data</comment>
|
||
|
|
</column>
|
||
|
|
</property>
|
||
|
|
|
||
|
|
<property name="pic2" type="string" length="100" not-null="false">
|
||
|
|
<column name="PIC2">
|
||
|
|
<comment>pic2</comment>
|
||
|
|
</column>
|
||
|
|
</property>
|
||
|
|
|
||
|
|
<property name="pic2Data" type="string" length="100" not-null="false">
|
||
|
|
<column name="PIC2_DATA">
|
||
|
|
<comment>pic2_data</comment>
|
||
|
|
</column>
|
||
|
|
</property>
|
||
|
|
|
||
|
|
<property name="pic3" type="string" length="100" not-null="false">
|
||
|
|
<column name="PIC3">
|
||
|
|
<comment>pic3</comment>
|
||
|
|
</column>
|
||
|
|
</property>
|
||
|
|
|
||
|
|
<property name="pic3Data" type="string" length="100" not-null="false">
|
||
|
|
<column name="PIC3_DATA">
|
||
|
|
<comment>pic3_data</comment>
|
||
|
|
</column>
|
||
|
|
</property>
|
||
|
|
|
||
|
|
<property name="createTime" type="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>
|
||
|
|
|
||
|
|
</class>
|
||
|
|
</hibernate-mapping>
|