hz-zhhq-app-service/greenH5modul/.svn/pristine/d6/d60d31b932ab6115f18f5086e54...

113 lines
3.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.GreenDrugsDetail" table="green_drugs_detail">
<comment>green_drugs_detail</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_DETAIL</param>
<param name="initial_value">100000</param>
</generator>
</id>
<property name="applyId" type="long" not-null="false">
<column name="APPLY_ID">
<comment>apply_id</comment>
</column>
</property>
<property name="drugsName" type="string" length="50" not-null="false">
<column name="DRUGS_NAME">
<comment>drugs_name</comment>
</column>
</property>
<property name="drugsFactory" type="string" length="50" not-null="false">
<column name="DRUGS_FACTORY">
<comment>drugs_factory</comment>
</column>
</property>
<property name="drugsType" type="string" length="10" not-null="false">
<column name="DRUGS_TYPE">
<comment>drugs_type</comment>
</column>
</property>
<property name="drugsNum" type="integer" not-null="false">
<column name="DRUGS_NUM">
<comment>drugs_num</comment>
</column>
</property>
<property name="drugsPic1" type="string" length="255" not-null="false">
<column name="DRUGS_PIC1">
<comment>drugs_pic1</comment>
</column>
</property>
<property name="drugsPic1Data" type="string" length="255" not-null="false">
<column name="DRUGS_PIC1_DATA">
<comment>drugs_pic1_data</comment>
</column>
</property>
<property name="drugsPic2" type="string" length="255" not-null="false">
<column name="DRUGS_PIC2">
<comment>drugs_pic2</comment>
</column>
</property>
<property name="drugsPic2Data" type="string" length="255" not-null="false">
<column name="DRUGS_PIC2_DATA">
<comment>drugs_pic2_data</comment>
</column>
</property>
<property name="isDeleted" type="character" not-null="false">
<column name="IS_DELETED" sql-type="CHAR(1) default 'N'">
<comment>is_deleted</comment>
</column>
</property>
<property name="createTime" type="string" not-null="false">
<column name="CREATE_TIME">
<comment>create_time</comment>
</column>
</property>
<property name="createBy" type="string" length="50" not-null="false">
<column name="CREATE_BY">
<comment>create_by</comment>
</column>
</property>
<property name="modifyTime" type="string" not-null="false">
<column name="MODIFY_TIME">
<comment>modify_time</comment>
</column>
</property>
<property name="modifyBy" type="string" length="50" not-null="false">
<column name="MODIFY_BY">
<comment>modify_by</comment>
</column>
</property>
<property name="drugsDose" type="string" length="50" not-null="false">
<column name="drugs_dose">
<comment>drugs_dose</comment>
</column>
</property>
<property name="drugsUnit" type="string" length="50" not-null="false">
<column name="drugs_unit">
<comment>drugs_unit</comment>
</column>
</property>
</class>
</hibernate-mapping>