hz-zhhq-app-service/greenH5modul/.svn/pristine/4b/4bf178a301bb694270e503c726b...

94 lines
3.4 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.GreenDrugsApply" table="green_drugs_apply">
<comment>green_drugs_apply</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_APPLY</param>
<param name="initial_value">100000</param>
</generator>
</id>
<property name="userId" type="string" length="50" not-null="false">
<column name="USER_ID">
<comment>预约人id</comment>
</column>
</property>
<property name="userName" type="string" length="20" not-null="false">
<column name="USER_NAME">
<comment>预约人姓名</comment>
</column>
</property>
<property name="telNumber" type="string" length="20" not-null="false">
<column name="TEL_NUMBER">
<comment>联系电话</comment>
</column>
</property>
<property name="deptId" type="string" length="50" not-null="false">
<column name="DEPT_ID">
<comment>dept_id</comment>
</column>
</property>
<property name="deptName" type="string" length="50" not-null="false">
<column name="DEPT_NAME">
<comment>dept_name</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="status" type="integer" not-null="false">
<column name="STATUS" sql-type="INTEGER default 0">
<comment>状态码,暂无用处</comment>
</column>
</property>
<property name="reason" type="string" length="50" not-null="false">
<column name="reason">
<comment>医生意见</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="endremind" type="integer" not-null="false">
<column name="endremind" sql-type="INTEGER default 0">
<comment></comment>
</column>
</property>
</class>
</hibernate-mapping>