hz-zhhq-app-service/greenH5modul/.svn/pristine/e3/e3ea8875d6bdb45e6b6e8f3e3b9...

121 lines
4.2 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?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.GreenFoodFeature" table="green_food_feature">
<comment>green_food_feature</comment>
<!-- single primaryKey -->
<id name="id" type="string" length="50">
<column name="ID">
<comment>主键ID</comment>
</column>
<generator class="uuid.hex"/>
</id>
<property name="kinds" type="string" length="8" not-null="true">
<column name="KINDS">
<comment>菜品分类</comment>
</column>
</property>
<property name="foodName" type="string" length="20" not-null="true">
<column name="FOOD_NAME">
<comment>菜品名称</comment>
</column>
</property>
<property name="picture" type="string" length="300" not-null="true">
<column name="PICTURE">
<comment>菜品图片</comment>
</column>
</property>
<property name="pictureData" type="string" length="50" not-null="false">
<column name="PICTURE_DATA">
<comment>文件外键</comment>
</column>
</property>
<property name="price" type="big_decimal" length="10" not-null="true">
<column name="PRICE">
<comment>菜品单价</comment>
</column>
</property>
<property name="unit" type="string" length="5" not-null="true">
<column name="UNIT">
<comment>计价单位</comment>
</column>
</property>
<property name="uploadDate" type="string" length="20" not-null="true">
<column name="UPLOAD_DATE">
<comment>上传日期</comment>
</column>
</property>
<property name="imgStatus" type="integer" not-null="false">
<column name="IMG_STATUS" sql-type="INTEGER default 0">
<comment>图片存储磁盘状态0-默认初始1-app存储完成2-web存储完成</comment>
</column>
</property>
<property name="creator" type="string" length="50" not-null="true">
<column name="CREATOR">
<comment>创建者</comment>
</column>
</property>
<property name="modifier" type="string" length="50" not-null="true">
<column name="MODIFIER">
<comment>修改者</comment>
</column>
</property>
<property name="gmtCreated" type="timestamp" not-null="true">
<column name="GMT_CREATED">
<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="material" type="string" length="300" not-null="true">
<column name="MATERIAL">
<comment>食材</comment>
</column>
</property>
<property name="reason" type="string" length="300" not-null="true">
<column name="REASON">
<comment>理由</comment>
</column>
</property>
<property name="activityNo" type="integer" not-null="false">
<column name="ACTIVITY_NO">
<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="voteNo" type="integer" not-null="false">
<column name="VOTE_NO">
<comment>点赞shu</comment>
</column>
</property>
<property name="isRelease" type="integer" not-null="false">
<column name="IS_RELEASE">
<comment>是否发布</comment>
</column>
</property>
</class>
</hibernate-mapping>