hz-zhhq-app-service/greenH5modul/.svn/pristine/1f/1f8ab384b7e94069d6332dbcc75...

73 lines
2.6 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.TorderEvaluate" table="t_order_evaluate">
<comment>t_order_evaluate</comment>
<!-- single primaryKey -->
<id name="id" type="string" length="32">
<column name="ID">
<comment>主键id</comment>
</column>
<generator class="uuid.hex"/>
</id>
<property name="type" type="integer" not-null="true">
<column name="TYPE">
<comment>类型1 订单2 食堂3 推荐菜</comment>
</column>
</property>
<property name="typeId" type="string" length="32" not-null="true">
<column name="TYPE_ID">
<comment>订单id</comment>
</column>
</property>
<property name="userId" type="string" length="32" not-null="true">
<column name="USER_ID">
<comment>评价人id</comment>
</column>
</property>
<property name="evContent" type="string" length="255" not-null="true">
<column name="EV_CONTENT">
<comment>评价内容</comment>
</column>
</property>
<property name="evTime" type="timestamp" not-null="true">
<column name="EV_TIME">
<comment>评价时间</comment>
</column>
</property>
<property name="grade" type="integer" not-null="true">
<column name="GRADE">
<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="bak1" type="string" length="100" not-null="true">
<column name="bak1">
<comment>备用idid</comment>
</column>
</property>
</class>
</hibernate-mapping>