93 lines
3.2 KiB
XML
93 lines
3.2 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.GreenActiveInfo" table="green_active_info">
|
||
<comment>green_active_info</comment>
|
||
<!-- single primaryKey -->
|
||
<id name="id" type="long">
|
||
<column name="ID">
|
||
<comment>id</comment>
|
||
</column>
|
||
<generator class="assigned"/>
|
||
</id>
|
||
|
||
<property name="content" type="string" not-null="false">
|
||
<column name="CONTENT">
|
||
<comment>内容</comment>
|
||
</column>
|
||
</property>
|
||
|
||
<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="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="startTime" type="java.util.Date" not-null="true">
|
||
<column name="START_TIME">
|
||
<comment>开始时间</comment>
|
||
</column>
|
||
</property>
|
||
|
||
<property name="endTime" type="java.util.Date" not-null="true">
|
||
<column name="END_TIME">
|
||
<comment>结束时间</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>
|
||
|
||
<property name="signupEndtime" type="java.util.Date" not-null="false">
|
||
<column name="signup_endtime" >
|
||
<comment>报名截止时间</comment>
|
||
</column>
|
||
</property>
|
||
|
||
</class>
|
||
</hibernate-mapping> |