hz-zhhq-app-service/greenH5modul/.svn/pristine/c4/c4bac1a6e4ad28c2671392279c1...

68 lines
2.3 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.GreenSpanRegister" table="green_span_register">
<comment>green_span_register</comment>
<!-- single primaryKey -->
<id name="uuid" type="string" length="128">
<column name="UUID">
<comment>UUID</comment>
</column>
<generator class="uuid.hex"/>
</id>
<property name="userid" type="string" length="128" 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="deptname" type="string" length="200" not-null="false">
<column name="DEPTNAME">
<comment>DEPTNAME</comment>
</column>
</property>
<property name="havenumber" type="integer" not-null="false">
<column name="HAVENUMBER">
<comment>HAVENUMBER</comment>
</column>
</property>
<property name="registerDate" type="string" length="200" not-null="false">
<column name="REGISTER_DATE">
<comment>REGISTER_DATE</comment>
</column>
</property>
<property name="registerType" type="string" length="50" not-null="false">
<column name="REGISTER_TYPE">
<comment>REGISTER_TYPE</comment>
</column>
</property>
<property name="createDate" type="timestamp" length="200" not-null="false">
<column name="CREATE_DATE">
<comment>CREATE_DATE</comment>
</column>
</property>
<property name="createBy" type="string" length="200" not-null="false">
<column name="CREATE_BY">
<comment>CREATE_BY</comment>
</column>
</property>
<property name="haveCanteen" type="string" length="200" not-null="false">
<column name="HAVECANTEEN">
<comment>HAVECANTEEN</comment>
</column>
</property>
</class>
</hibernate-mapping>