hz-zhhq-app-service/greenH5modul/.svn/pristine/43/43b23e56c2a649586433ba149e0...

91 lines
3.2 KiB
Plaintext
Raw Normal View History

2025-01-21 13:12:35 +08:00
<?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.GreenHealthMsg" table="green_health_msg">
<comment>green_health_msg</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_HEALTH_MSG</param>
<param name="initial_value">100000</param>
</generator>
</id>
<property name="title" type="string" length="200" not-null="true">
<column name="TITLE">
<comment>标题</comment>
</column>
</property>
<property name="desInfo" type="string" length="1000" not-null="false">
<column name="DES_INFO">
<comment>描述</comment>
</column>
</property>
<property name="type" type="string" not-null="true">
<column name="TYPE">
<comment>类型</comment>
</column>
</property>
<property name="cate" type="string" not-null="true">
<column name="CATE">
<comment>类别</comment>
</column>
</property>
<property name="content" type="string" not-null="false">
<column name="CONTENT">
<comment>内容</comment>
</column>
</property>
<property name="author" type="string" length="100" not-null="false">
<column name="AUTHOR">
<comment>作者</comment>
</column>
</property>
<property name="isDel" type="string" not-null="false">
<column name="IS_DEL" sql-type="VARCHAR2 default '1'">
<comment>删除0-删除1-未删除</comment>
</column>
</property>
<property name="status" type="string" not-null="false">
<column name="STATUS">
<comment>状态0-保存1-发布</comment>
</column>
</property>
<property name="creater" type="string" length="32" not-null="false">
<column name="CREATER">
<comment>创建人</comment>
</column>
</property>
<property name="createTime" type="java.util.Date" not-null="true">
<column name="CREATE_TIME" sql-type="DATE default CURRENT_TIMESTAMP">
<comment>创建时间</comment>
</column>
</property>
<property name="updater" type="string" length="32" not-null="false">
<column name="UPDATER">
<comment>更新人</comment>
</column>
</property>
<property name="updateTime" type="java.util.Date" not-null="false">
<column name="UPDATE_TIME" sql-type="DATE default CURRENT_TIMESTAMP">
<comment>更新时间</comment>
</column>
</property>
</class>
</hibernate-mapping>