73 lines
2.7 KiB
Plaintext
73 lines
2.7 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.GreenParkRecord" table="green_park_record">
|
|||
|
|
<comment>green_park_record</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_PARK_RECORD</param>
|
|||
|
|
<param name="initial_value">100000</param>
|
|||
|
|
</generator>
|
|||
|
|
</id>
|
|||
|
|
|
|||
|
|
<property name="carNum" type="string" length="7" not-null="false">
|
|||
|
|
<column name="CAR_NUM">
|
|||
|
|
<comment>车牌号</comment>
|
|||
|
|
</column>
|
|||
|
|
</property>
|
|||
|
|
|
|||
|
|
<property name="gmtCreated" type="date" not-null="false">
|
|||
|
|
<column name="GMT_CREATED">
|
|||
|
|
<comment>创建时间</comment>
|
|||
|
|
</column>
|
|||
|
|
</property>
|
|||
|
|
|
|||
|
|
<property name="inOut" type="string" length="1" not-null="false">
|
|||
|
|
<column name="IN_OUT" sql-type="VARCHAR2(1) default '0'">
|
|||
|
|
<comment>0 进 1出</comment>
|
|||
|
|
</column>
|
|||
|
|
</property>
|
|||
|
|
|
|||
|
|
<property name="carType" type="string" length="20" not-null="false">
|
|||
|
|
<column name="CAR_TYPE">
|
|||
|
|
<comment>car_type</comment>
|
|||
|
|
</column>
|
|||
|
|
</property>
|
|||
|
|
|
|||
|
|
<property name="isDeleted" type="character" not-null="false">
|
|||
|
|
<column name="IS_DELETED" sql-type="CHAR(1) default 'N'">
|
|||
|
|
<comment>是否删除Y/N,默认N</comment>
|
|||
|
|
</column>
|
|||
|
|
</property>
|
|||
|
|
|
|||
|
|
<property name="carownerId" type="string" length="20" not-null="false">
|
|||
|
|
<column name="CAROWNER_ID">
|
|||
|
|
<comment>车主id</comment>
|
|||
|
|
</column>
|
|||
|
|
</property>
|
|||
|
|
|
|||
|
|
<property name="carownerName" type="string" length="20" not-null="false">
|
|||
|
|
<column name="CAROWNER_NAME">
|
|||
|
|
<comment>车主姓名</comment>
|
|||
|
|
</column>
|
|||
|
|
</property>
|
|||
|
|
|
|||
|
|
<property name="overtime" type="string" length="1" not-null="false">
|
|||
|
|
<column name="OVERTIME" sql-type="VARCHAR2(1) default '0'">
|
|||
|
|
<comment>是否超时 0未超时,1超时</comment>
|
|||
|
|
</column>
|
|||
|
|
</property>
|
|||
|
|
|
|||
|
|
<property name="exceedingTime" type="string" length="20" not-null="false">
|
|||
|
|
<column name="EXCEEDING_TIME">
|
|||
|
|
<comment>超出时间</comment>
|
|||
|
|
</column>
|
|||
|
|
</property>
|
|||
|
|
|
|||
|
|
</class>
|
|||
|
|
</hibernate-mapping>
|