hz-zhhq-app-service/greenH5modul/.svn/pristine/d1/d14aa3e16a42eb665118c4296f1...

121 lines
4.8 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.GreenApply" table="green_apply">
<comment>green_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_APPLY</param>
<param name="initial_value">100000</param>
</generator>
</id>
<property name="userId" type="string" length="32" not-null="false">
<column name="USER_ID">
<comment>申请人id</comment>
</column>
</property>
<property name="detailId" type="long" not-null="false">
<column name="DETAIL_ID">
<comment>申请事项 记录 id</comment>
</column>
</property>
<property name="applyType" type="string" length="100" not-null="false">
<column name="APPLY_TYPE">
<comment>申请类型 &quot;01&quot; 餐券申请 &quot;02&quot; 访客预约, &quot;03&quot; 员工卡申请, &quot;04&quot; 临时停车预约 &quot;05&quot; 故障维修申请, &quot;06&quot; 理发预约, &quot;07&quot; 餐券领取 &quot;08&quot; 施工申请</comment>
</column>
</property>
<property name="applyTypeName" type="string" length="255" not-null="false">
<column name="APPLY_TYPE_NAME">
<comment>申请类型名称</comment>
</column>
</property>
<property name="applyDesc" type="string" length="255" not-null="false">
<column name="APPLY_DESC">
<comment>申请描述</comment>
</column>
</property>
<property name="needVerifyLevel" type="string" length="10" not-null="false">
<column name="NEED_VERIFY_LEVEL">
<comment>所需审核总等级</comment>
</column>
</property>
<property name="curVerifyLevel" type="string" length="10" not-null="false">
<column name="CUR_VERIFY_LEVEL">
<comment>当前审核等级</comment>
</column>
</property>
<property name="status" type="string" length="10" not-null="false">
<column name="STATUS">
<comment>状态: &quot;0&quot; 待审批 &quot;1&quot; 已同意 &quot;2&quot; 已拒绝 &quot;3&quot; 已取消 &quot;4&quot; 待制卡 &quot;5&quot; 制卡完成 &quot;6&quot; 待授权 &quot;7&quot; 已授权 &quot;8&quot; 预约成功 &quot;9&quot; 已完成 &quot;10&quot; 待接受 &quot;11&quot; 已接受 &quot;12&quot; 领取成功 &quot;13&quot; 进行中</comment>
</column>
</property>
<property name="info1" type="string" length="255" not-null="false">
<column name="INFO1">
<comment>info1</comment>
</column>
</property>
<property name="info2" type="string" length="255" not-null="false">
<column name="INFO2">
<comment>info2</comment>
</column>
</property>
<property name="info3" type="string" length="255" not-null="false">
<column name="INFO3">
<comment>info3</comment>
</column>
</property>
<property name="info4" type="string" length="255" not-null="false">
<column name="INFO4">
<comment>info4</comment>
</column>
</property>
<property name="commentStatus" type="string" length="10" not-null="false">
<column name="COMMENT_STATUS">
<comment>0 未评价 1 已评价</comment>
</column>
</property>
<property name="applyTime" type="timestamp" not-null="false">
<column name="APPLY_TIME">
<comment>申请时间</comment>
</column>
</property>
<property name="updTime" type="timestamp" not-null="false">
<column name="UPD_TIME">
<comment>修改时间</comment>
</column>
</property>
<property name="refuseLevel" type="string" length="10" not-null="false">
<column name="REFUSE_LEVEL">
<comment>被拒绝等级 </comment>
</column>
</property>
<property name="delFlag" type="string" length="10" not-null="false">
<column name="DEL_FLAG">
<comment>逻辑删除 0 未删除 1 已删除</comment>
</column>
</property>
</class>
</hibernate-mapping>