hz-zhhq-app-service/greenH5modul/.svn/pristine/e6/e636b09b881a1b515e146a0f6ba...

79 lines
2.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.GreenDrugsPush" table="green_drugs_push">
<comment>green_drugs_push</comment>
<!-- single primaryKey -->
<id name="id" type="java.lang.Long">
<column name="ID" length="19"/>
<generator class="org.hibernate.id.enhanced.TableGenerator">
<param name="table_name">green_seq</param>
<param name="segment_column_name">table_name</param>
<param name="value_column_name">max_id</param>
<param name="segment_value">GREEN_DRUGS_PUSH</param>
<param name="initial_value">100000</param>
</generator>
</id>
<property name="drugsName" type="string" length="50" not-null="false">
<column name="DRUGS_NAME">
<comment>药品名称</comment>
</column>
</property>
<property name="drugsPicture" type="string" length="300" not-null="false">
<column name="DRUGS_PICTURE">
<comment>drugs_picture</comment>
</column>
</property>
<property name="drugsPictureData" type="string" length="300" not-null="false">
<column name="DRUGS_PICTURE_DATA">
<comment>drugs_picture_data</comment>
</column>
</property>
<property name="remark" type="string" length="500" not-null="false">
<column name="REMARK">
<comment>备注描述</comment>
</column>
</property>
<property name="voteNo" type="integer" not-null="false">
<column name="VOTE_NO" sql-type="INTEGER default 0">
<comment>点赞数</comment>
</column>
</property>
<property name="isRelease" type="integer" not-null="false">
<column name="IS_RELEASE" sql-type="INTEGER default 0">
<comment>是否发布 0 未发布 1已发布</comment>
</column>
</property>
<property name="creator" type="string" length="50" not-null="false">
<column name="CREATOR">
<comment>创建者</comment>
</column>
</property>
<property name="gmtCreated" type="java.util.Date" not-null="false">
<column name="GMT_CREATED">
<comment>创建时间</comment>
</column>
</property>
<property name="modifier" type="string" length="50" not-null="false">
<column name="MODIFIER">
<comment>修改者</comment>
</column>
</property>
<property name="gmtModified" type="java.util.Date" not-null="false">
<column name="GMT_MODIFIED">
<comment>修改时间</comment>
</column>
</property>
</class>
</hibernate-mapping>