153 lines
5.4 KiB
Plaintext
153 lines
5.4 KiB
Plaintext
|
|
<?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.GreenUsecarApply" table="green_usecar_apply">
|
||
|
|
<comment>green_usecar_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_USECAR_APPLY</param>
|
||
|
|
<param name="initial_value">100000</param>
|
||
|
|
</generator>
|
||
|
|
</id>
|
||
|
|
|
||
|
|
<property name="userid" type="string" length="50" not-null="false">
|
||
|
|
<column name="USERID">
|
||
|
|
<comment>userId</comment>
|
||
|
|
</column>
|
||
|
|
</property>
|
||
|
|
|
||
|
|
<property name="username" type="string" length="50" not-null="false">
|
||
|
|
<column name="USERNAME">
|
||
|
|
<comment>userName</comment>
|
||
|
|
</column>
|
||
|
|
</property>
|
||
|
|
|
||
|
|
<property name="deptid" type="string" length="50" not-null="false">
|
||
|
|
<column name="DEPTID">
|
||
|
|
<comment>deptId</comment>
|
||
|
|
</column>
|
||
|
|
</property>
|
||
|
|
|
||
|
|
<property name="deptname" type="string" length="50" not-null="false">
|
||
|
|
<column name="DEPTNAME">
|
||
|
|
<comment>deptName</comment>
|
||
|
|
</column>
|
||
|
|
</property>
|
||
|
|
|
||
|
|
<property name="telnumber" type="string" length="20" not-null="false">
|
||
|
|
<column name="TELNUMBER">
|
||
|
|
<comment>telNumber</comment>
|
||
|
|
</column>
|
||
|
|
</property>
|
||
|
|
|
||
|
|
<property name="starttime" type="string" length="30" not-null="false">
|
||
|
|
<column name="STARTTIME">
|
||
|
|
<comment>startTime</comment>
|
||
|
|
</column>
|
||
|
|
</property>
|
||
|
|
|
||
|
|
<property name="endtime" type="string" length="30" not-null="false">
|
||
|
|
<column name="ENDTIME">
|
||
|
|
<comment>endTime</comment>
|
||
|
|
</column>
|
||
|
|
</property>
|
||
|
|
|
||
|
|
<property name="peoplenum" type="integer" not-null="false">
|
||
|
|
<column name="PEOPLENUM">
|
||
|
|
<comment>peopleNum</comment>
|
||
|
|
</column>
|
||
|
|
</property>
|
||
|
|
|
||
|
|
<property name="reason" type="string" length="20" not-null="false">
|
||
|
|
<column name="REASON">
|
||
|
|
<comment>reason</comment>
|
||
|
|
</column>
|
||
|
|
</property>
|
||
|
|
|
||
|
|
<property name="remark" type="string" length="50" not-null="false">
|
||
|
|
<column name="REMARK">
|
||
|
|
<comment>remark</comment>
|
||
|
|
</column>
|
||
|
|
</property>
|
||
|
|
|
||
|
|
<property name="isevaluate" type="integer" not-null="false">
|
||
|
|
<column name="ISEVALUATE" sql-type="INTEGER default 0">
|
||
|
|
<comment>评价次数</comment>
|
||
|
|
</column>
|
||
|
|
</property>
|
||
|
|
|
||
|
|
<property name="endremind" type="integer" not-null="false">
|
||
|
|
<column name="ENDREMIND" sql-type="INTEGER default 0">
|
||
|
|
<comment>结束提醒次数</comment>
|
||
|
|
</column>
|
||
|
|
</property>
|
||
|
|
|
||
|
|
<property name="status" type="string" length="1" not-null="false">
|
||
|
|
<column name="STATUS" sql-type="VARCHAR2(1) default '0'">
|
||
|
|
<comment>0申请成功 1用车中 2已用车</comment>
|
||
|
|
</column>
|
||
|
|
</property>
|
||
|
|
|
||
|
|
<property name="assignid" type="string" length="50" not-null="false">
|
||
|
|
<column name="ASSIGNID">
|
||
|
|
<comment>指派人id</comment>
|
||
|
|
</column>
|
||
|
|
</property>
|
||
|
|
|
||
|
|
<property name="assignname" type="string" length="50" not-null="false">
|
||
|
|
<column name="ASSIGNNAME">
|
||
|
|
<comment>assignName</comment>
|
||
|
|
</column>
|
||
|
|
</property>
|
||
|
|
|
||
|
|
<property name="createtime" type="java.util.Date" not-null="false">
|
||
|
|
<column name="CREATETIME">
|
||
|
|
<comment>createTime</comment>
|
||
|
|
</column>
|
||
|
|
</property>
|
||
|
|
|
||
|
|
<property name="createby" type="string" length="50" not-null="false">
|
||
|
|
<column name="CREATEBY">
|
||
|
|
<comment>createBy</comment>
|
||
|
|
</column>
|
||
|
|
</property>
|
||
|
|
|
||
|
|
<property name="modifytime" type="java.util.Date" not-null="false">
|
||
|
|
<column name="MODIFYTIME">
|
||
|
|
<comment>modifyTime</comment>
|
||
|
|
</column>
|
||
|
|
</property>
|
||
|
|
|
||
|
|
<property name="modifyby" type="string" length="50" not-null="false">
|
||
|
|
<column name="MODIFYBY">
|
||
|
|
<comment>modifyBy</comment>
|
||
|
|
</column>
|
||
|
|
</property>
|
||
|
|
|
||
|
|
<property name="isdelete" type="string" length="255" not-null="false">
|
||
|
|
<column name="ISDELETE" sql-type="VARCHAR2(255) default 'N'">
|
||
|
|
<comment>isDelete</comment>
|
||
|
|
</column>
|
||
|
|
</property>
|
||
|
|
<property name="destination" type="string" length="50" not-null="false">
|
||
|
|
<column name="destination" sql-type="VARCHAR2(50)">
|
||
|
|
<comment>destination</comment>
|
||
|
|
</column>
|
||
|
|
</property>
|
||
|
|
<property name="approvalReason" type="string" length="200" not-null="false">
|
||
|
|
<column name="approval_reason" sql-type="VARCHAR2(200)">
|
||
|
|
<comment>approval_reason</comment>
|
||
|
|
</column>
|
||
|
|
</property>
|
||
|
|
<property name="approvalStatus" type="string" length="1" not-null="false">
|
||
|
|
<column name="approval_status" sql-type="VARCHAR2(1)">
|
||
|
|
<comment>approval_status</comment>
|
||
|
|
</column>
|
||
|
|
</property>
|
||
|
|
</class>
|
||
|
|
</hibernate-mapping>
|