86 lines
2.4 KiB
XML
86 lines
2.4 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.GreenInfoGrather"
|
|
table="green_info_grather">
|
|
<comment>green_info_grather</comment>
|
|
<!-- single primaryKey -->
|
|
<id name="id" type="long">
|
|
<column name="ID">
|
|
<comment>id</comment>
|
|
</column>
|
|
<generator class="identity" />
|
|
</id>
|
|
|
|
<property name="name" type="string" length="255" not-null="false">
|
|
<column name="NAME">
|
|
<comment>姓名</comment>
|
|
</column>
|
|
</property>
|
|
|
|
<property name="jobNum" type="string" length="255" not-null="false">
|
|
<column name="JOB_NUM">
|
|
<comment>工号</comment>
|
|
</column>
|
|
</property>
|
|
|
|
<property name="phone" type="string" length="20" not-null="false">
|
|
<column name="PHONE">
|
|
<comment>手机号</comment>
|
|
</column>
|
|
</property>
|
|
|
|
<property name="idcardNum" type="string" length="20"
|
|
not-null="false">
|
|
<column name="IDCARD_NUM">
|
|
<comment>身份证号码</comment>
|
|
</column>
|
|
</property>
|
|
|
|
<property name="companyId" type="string" length="20"
|
|
not-null="false">
|
|
<column name="COMPANY_ID">
|
|
<comment>单位id</comment>
|
|
</column>
|
|
</property>
|
|
|
|
<property name="company" type="string" length="255" not-null="false">
|
|
<column name="COMPANY">
|
|
<comment>单位</comment>
|
|
</column>
|
|
</property>
|
|
|
|
<property name="departmentId" type="string" length="20"
|
|
not-null="false">
|
|
<column name="DEPARTMENT_ID">
|
|
<comment>部门ID</comment>
|
|
</column>
|
|
</property>
|
|
|
|
<property name="department" type="string" length="255"
|
|
not-null="false">
|
|
<column name="DEPARTMENT">
|
|
<comment>部门</comment>
|
|
</column>
|
|
</property>
|
|
|
|
<property name="faceImgUrl" type="string" length="255"
|
|
not-null="false">
|
|
<column name="FACE_IMG_URL">
|
|
<comment>证件照相对地址</comment>
|
|
</column>
|
|
</property>
|
|
<property name="lifeImgUrl" type="string" length="255"
|
|
not-null="false">
|
|
<column name="LIFE_IMG_URL">
|
|
<comment>生活照相对地址</comment>
|
|
</column>
|
|
</property>
|
|
<property name="createdTime" type="java.util.Date" lazy="true">
|
|
<column name="CREATED_TIME" scale="0" not-null="false" />
|
|
</property>
|
|
<property name="updateTime" type="java.util.Date" lazy="true">
|
|
<column name="UPDATE_TIME" scale="0" not-null="false" />
|
|
</property>
|
|
</class>
|
|
</hibernate-mapping> |