hz-zhhq-app-service/greenH5modul/.svn/pristine/39/39bff8e80dd1d6a9e06ce01a6e4...

49 lines
1.8 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.GreenFoodVote" table="green_food_vote">
<comment>green_food_vote</comment>
<!-- single primaryKey -->
<id name="id" type="string" length="50">
<column name="ID">
<comment>主键ID</comment>
</column>
<generator class="uuid.hex"/>
</id>
<property name="featureId" type="string" length="50" not-null="true">
<column name="FEATURE_ID">
<comment>推荐菜品id</comment>
</column>
</property>
<property name="voteUser" type="string" length="32" not-null="true">
<column name="VOTE_USER">
<comment>投票人</comment>
</column>
</property>
<property name="gmtCreated" type="timestamp" not-null="true">
<column name="GMT_CREATED" sql-type="TIMESTAMP default CURRENT_TIMESTAMP">
<comment>创建时间</comment>
</column>
</property>
<property name="gmtModified" type="timestamp" not-null="true">
<column name="GMT_MODIFIED" sql-type="TIMESTAMP default CURRENT_TIMESTAMP">
<comment>修改时间</comment>
</column>
</property>
<property name="isDeleted" type="character" not-null="true">
<column name="IS_DELETED" sql-type="CHAR(1) default 'N'">
<comment>是否删除Y/N默认N</comment>
</column>
</property>
<property name="activityNo" type="integer" >
<column name="ACTIVITY_NO">
<comment>第几期活动</comment>
</column>
</property>
</class>
</hibernate-mapping>