121 lines
4.8 KiB
XML
121 lines
4.8 KiB
XML
<?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>申请类型 "01" 餐券申请 ,"02" 访客预约, "03" 员工卡申请, "04" 临时停车预约 , "05" 故障维修申请, "06" 理发预约, "07" 餐券领取 , "08" 施工申请</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>状态: "0" 待审批 "1" 已同意 "2" 已拒绝 "3" 已取消 "4" 待制卡 "5" 制卡完成 "6" 待授权 "7" 已授权 "8" 预约成功 "9" 已完成 "10" 待接受 "11" 已接受 "12" 领取成功 "13" 进行中</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> |