hz-zhhq-app-service/greenH5modul/.svn/pristine/fe/fee733ffbeed6613f3d0bbfc208...

105 lines
3.5 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.GreenEAccount" table="green_e_account">
<comment>green_e_account</comment>
<!-- single primaryKey -->
<id name="id" type="long">
<column name="ID">
<comment>id</comment>
</column>
<generator class="identity"/>
</id>
<property name="userId" type="string" length="20" not-null="false">
<column name="USER_ID">
<comment>用户表id</comment>
</column>
</property>
<property name="name" type="string" length="25" not-null="false">
<column name="NAME">
<comment>用户名称</comment>
</column>
</property>
<property name="jobNum" type="string" length="20" not-null="false">
<column name="JOB_NUM">
<comment>工号</comment>
</column>
</property>
<property name="mealCardNum" type="string" length="20" not-null="false">
<column name="MEAL_CARD_NUM">
<comment>餐卡号</comment>
</column>
</property>
<property name="idCardNum" type="string" length="20" not-null="false">
<column name="ID_CARD_NUM">
<comment>身份证号</comment>
</column>
</property>
<property name="carIdNumOne" type="string" length="25" not-null="false">
<column name="CAR_ID_NUM_ONE">
<comment>车牌号1</comment>
</column>
</property>
<property name="carIdNumTwo" type="string" length="25" not-null="false">
<column name="CAR_ID_NUM_TWO">
<comment>车牌号2</comment>
</column>
</property>
<property name="phoneNum" type="string" length="20" not-null="false">
<column name="PHONE_NUM">
<comment>手机号</comment>
</column>
</property>
<property name="userType" type="string" length="20" not-null="false">
<column name="USER_TYPE">
<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="departmentName" type="string" length="50" not-null="false">
<column name="DEPARTMENT_NAME">
<comment>部门名称</comment>
</column>
</property>
<property name="img" type="string" length="255" not-null="false">
<column name="IMG">
<comment>证件照路径</comment>
</column>
</property>
<property name="lifeImg" type="string" length="255" not-null="false">
<column name="LIFE_IMG">
<comment>自拍大头照路径</comment>
</column>
</property>
<property name="createdTime" type="timestamp" not-null="false">
<column name="CREATED_TIME">
<comment>创建时间</comment>
</column>
</property>
<property name="updateTime" type="timestamp" not-null="false">
<column name="UPDATE_TIME">
<comment>修改时间</comment>
</column>
</property>
</class>
</hibernate-mapping>