72 lines
2.8 KiB
Plaintext
72 lines
2.8 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.GreenLicenseplateApproval" table="green_licenseplate_approval">
|
|||
|
|
<comment>green_licenseplate_approval</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_LICENSEPLATE_APPROVAL</param>
|
|||
|
|
<param name="initial_value">100000</param>
|
|||
|
|
</generator>
|
|||
|
|
</id>
|
|||
|
|
<property name="eaccountId" type="long" not-null="false">
|
|||
|
|
<column name="E_ACCOUNT_ID">
|
|||
|
|
<comment>e_account_id</comment>
|
|||
|
|
</column>
|
|||
|
|
</property>
|
|||
|
|
|
|||
|
|
<property name="licenseplate1Status" type="string" length="10" not-null="false">
|
|||
|
|
<column name="LICENSEPLATE1_STATUS" sql-type="VARCHAR2(10) default '0'">
|
|||
|
|
<comment>0待审核 1已通过 2已拒绝</comment>
|
|||
|
|
</column>
|
|||
|
|
</property>
|
|||
|
|
|
|||
|
|
<property name="licenseplate2Status" type="string" length="10" not-null="false">
|
|||
|
|
<column name="LICENSEPLATE2_STATUS" sql-type="VARCHAR2(10) default '0'">
|
|||
|
|
<comment>0待审核 1已通过 2已拒绝</comment>
|
|||
|
|
</column>
|
|||
|
|
</property>
|
|||
|
|
|
|||
|
|
<property name="licenseplate1" type="string" length="20" not-null="false">
|
|||
|
|
<column name="LICENSEPLATE1">
|
|||
|
|
<comment>licenseplate1</comment>
|
|||
|
|
</column>
|
|||
|
|
</property>
|
|||
|
|
|
|||
|
|
<property name="licenseplate2" type="string" length="20" not-null="false">
|
|||
|
|
<column name="LICENSEPLATE2">
|
|||
|
|
<comment>licenseplate2</comment>
|
|||
|
|
</column>
|
|||
|
|
</property>
|
|||
|
|
|
|||
|
|
<property name="gmtCreated" type="java.util.Date" not-null="false">
|
|||
|
|
<column name="GMT_CREATED">
|
|||
|
|
<comment>gmt_created</comment>
|
|||
|
|
</column>
|
|||
|
|
</property>
|
|||
|
|
|
|||
|
|
<property name="gmtModified" type="java.util.Date" not-null="false">
|
|||
|
|
<column name="GMT_MODIFIED">
|
|||
|
|
<comment>gmt_modified</comment>
|
|||
|
|
</column>
|
|||
|
|
</property>
|
|||
|
|
|
|||
|
|
<property name="modifier" type="string" length="50" not-null="false">
|
|||
|
|
<column name="MODIFIER">
|
|||
|
|
<comment>modifier</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>
|
|||
|
|
|
|||
|
|
</class>
|
|||
|
|
</hibernate-mapping>
|