hz-zhhq-app-service/greenH5modul/.svn/pristine/e8/e87ca0f2f87f9f86f38d9481bd3...

49 lines
1.9 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.GreenFoodLottery" table="green_food_lottery">
<comment>green_food_lottery</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="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="userId" length="50" not-null="true">
<column name="USER_ID">
<comment>用户id</comment>
</column>
</property>
<property name="activityNo" type="integer" not-null="false">
<column name="ACTIVITY_NO">
<comment>第几期活动</comment>
</column>
</property>
</class>
</hibernate-mapping>