<?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">
<!--
Mapping file autogenerated by MyEclipse Persistence Tools
-->
<hibernate-mapping>
<class name="com.derun.hibernate.entity.Car" table="CAR" schema="MAPGIS">
<composite-id>
<key-property name="carid" type="java.lang.String">
<column name="CARID" precision="32" scale="0" />
</key-property>
</composite-id>
<property name="carnum" type="java.lang.Integer">
<column name="CARNUM" length="32">
<comment>车编号</comment>
</column>
</property>
<property name="drivernumid" type="java.lang.Integer">
<column name="DRIVERNUMID" length="64">
<comment>驾驶员表</comment>
</column>
</property>
<property name="telnub" type="java.lang.String">
<column name="TELNUB" length="16">
<comment>车载电话</comment>
</column>
</property>
<property name="imsitel" type="java.lang.String">
<column name="IMSITEL" length="16">
<comment>IMSI号码</comment>
</column>
</property>
<property name="treatys" type="java.lang.String">
<column name="TREATYS" length="16">
<comment>协议类型</comment>
</column>
</property>
<property name="diagnosis" type="java.lang.String">
<column name="DIAGNOSIS" length="16">
<comment>诊断方案</comment>
</column>
</property>
<property name="icons" type="java.lang.String">
<column name="ICONS" length="16">
<comment>图标类型</comment>
</column>
</property>
<property name="installtime" type="java.util.Date">
<column name="INSTALLTIME" length="16">
<comment>安装时间</comment>
</column>
</property>
<property name="nettime" type="java.util.Date">
<column name="NETTIME" length="16">
<comment>入网时间</comment>
</column>
</property>
<property name="sumls" type="java.lang.String">
<column name="SUMLS" length="64">
<comment>总里程</comment>
</column>
</property>
<property name="mpgs" type="java.lang.String">
<column name="MPGS" length="64">
<comment>油耗系数</comment>
</column>
</property>
<property name="coretels" type="java.lang.String">
<column name="CORETELS" length="64">
<comment>中心号码</comment>
</column>
</property>
<property name="checkwords" type="java.lang.String">
<column name="CHECKWORDS" length="64">
<comment>验证密码</comment>
</column>
</property>
<property name="colours" type="java.lang.String">
<column name="COLOURS" length="32">
<comment>车身颜色</comment>
</column>
</property>
<property name="types" type="java.lang.String">
<column name="TYPES" length="32">
<comment>车辆类型</comment>
</column>
</property>
<property name="frames" type="java.lang.String">
<column name="FRAMES" length="32">
<comment>车架号</comment>
</column>
</property>
<property name="carnumself" type="java.lang.String">
<column name="CARNUMSELF" length="32">
<comment>自编号</comment>
</column>
</property>
<property name="queryword" type="java.lang.String">
<column name="QUERYWORD" length="32">
<comment>查询密码</comment>
</column>
</property>
<property name="endtime" type="java.util.Date">
<column name="ENDTIME" length="32">
<comment>服务到期</comment>
</column>
</property>
<property name="localitys" type="java.lang.String">
<column name="LOCALITYS" length="32">
<comment>所在地区</comment>
</column>
</property>
<property name="ipid" type="java.lang.String">
<column name="IPID" length="32">
<comment>终端ip</comment>
</column>
</property>
<property name="transports" type="java.lang.String">
<column name="TRANSPORTS" length="32">
<comment>客运班线</comment>
</column>
</property>
<property name="paths" type="java.lang.String">
<column name="PATHS" length="32">
<comment>配送路线</comment>
</column>
</property>
<property name="operaters" type="java.lang.String">
<column name="OPERATERS" length="32">
<comment>操作人</comment>
</column>
</property>
<property name="operatimes" type="java.util.Date">
<column name="OPERATIMES" length="32">
<comment>操作时间</comment>
</column>
</property>
<property name="imeis" type="java.lang.String">
<column name="IMEIS" length="32">
<comment>IMEI号码</comment>
</column>
</property>
<property name="comments" type="java.lang.String">
<column name="COMMENTS" length="64">
<comment>备注</comment>
</column>
</property>
<property name="oilwears" type="java.lang.String">
<column name="OILWEARS" length="32">
<comment>油耗方案</comment>
</column>
</property>
<property name="tels" type="java.lang.String">
<column name="TELS" length="32">
<comment>车主电话</comment>
</column>
</property>
<property name="mails" type="java.lang.String">
<column name="MAILS" length="32">
<comment>邮件地址</comment>
</column>
</property>
<property name="oilsizes" type="java.lang.String">
<column name="OILSIZES" length="32">
<comment>邮箱体积</comment>
</column>
</property>
<property name="owner" type="java.lang.String">
<column name="OWNER" length="32">
<comment>车主</comment>
</column>
</property>
<property name="telnub2" type="java.lang.String">
<column name="TELNUB2" length="32">
<comment>车载电话2</comment>
</column>
</property>
<many-to-one name="department" class="com.derun.hibernate.entity.Department" fetch="select" lazy="false">
<column name="DEPARTMENTID" precision="22" scale="0" />
</many-to-one>
<set name="tachovelocityss" inverse="true">
<key>
<column name="CARID" precision="22" scale="0" />
</key>
<one-to-many class="com.derun.hibernate.entity.Tachovelocitys" />
</set>
</class>
</hibernate-mapping>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<!--
Mapping file autogenerated by MyEclipse Persistence Tools
-->
<hibernate-mapping>
<class name="com.derun.hibernate.entity.Car" table="CAR" schema="MAPGIS">
<composite-id>
<key-property name="carid" type="java.lang.String">
<column name="CARID" precision="32" scale="0" />
</key-property>
</composite-id>
<property name="carnum" type="java.lang.Integer">
<column name="CARNUM" length="32">
<comment>车编号</comment>
</column>
</property>
<property name="drivernumid" type="java.lang.Integer">
<column name="DRIVERNUMID" length="64">
<comment>驾驶员表</comment>
</column>
</property>
<property name="telnub" type="java.lang.String">
<column name="TELNUB" length="16">
<comment>车载电话</comment>
</column>
</property>
<property name="imsitel" type="java.lang.String">
<column name="IMSITEL" length="16">
<comment>IMSI号码</comment>
</column>
</property>
<property name="treatys" type="java.lang.String">
<column name="TREATYS" length="16">
<comment>协议类型</comment>
</column>
</property>
<property name="diagnosis" type="java.lang.String">
<column name="DIAGNOSIS" length="16">
<comment>诊断方案</comment>
</column>
</property>
<property name="icons" type="java.lang.String">
<column name="ICONS" length="16">
<comment>图标类型</comment>
</column>
</property>
<property name="installtime" type="java.util.Date">
<column name="INSTALLTIME" length="16">
<comment>安装时间</comment>
</column>
</property>
<property name="nettime" type="java.util.Date">
<column name="NETTIME" length="16">
<comment>入网时间</comment>
</column>
</property>
<property name="sumls" type="java.lang.String">
<column name="SUMLS" length="64">
<comment>总里程</comment>
</column>
</property>
<property name="mpgs" type="java.lang.String">
<column name="MPGS" length="64">
<comment>油耗系数</comment>
</column>
</property>
<property name="coretels" type="java.lang.String">
<column name="CORETELS" length="64">
<comment>中心号码</comment>
</column>
</property>
<property name="checkwords" type="java.lang.String">
<column name="CHECKWORDS" length="64">
<comment>验证密码</comment>
</column>
</property>
<property name="colours" type="java.lang.String">
<column name="COLOURS" length="32">
<comment>车身颜色</comment>
</column>
</property>
<property name="types" type="java.lang.String">
<column name="TYPES" length="32">
<comment>车辆类型</comment>
</column>
</property>
<property name="frames" type="java.lang.String">
<column name="FRAMES" length="32">
<comment>车架号</comment>
</column>
</property>
<property name="carnumself" type="java.lang.String">
<column name="CARNUMSELF" length="32">
<comment>自编号</comment>
</column>
</property>
<property name="queryword" type="java.lang.String">
<column name="QUERYWORD" length="32">
<comment>查询密码</comment>
</column>
</property>
<property name="endtime" type="java.util.Date">
<column name="ENDTIME" length="32">
<comment>服务到期</comment>
</column>
</property>
<property name="localitys" type="java.lang.String">
<column name="LOCALITYS" length="32">
<comment>所在地区</comment>
</column>
</property>
<property name="ipid" type="java.lang.String">
<column name="IPID" length="32">
<comment>终端ip</comment>
</column>
</property>
<property name="transports" type="java.lang.String">
<column name="TRANSPORTS" length="32">
<comment>客运班线</comment>
</column>
</property>
<property name="paths" type="java.lang.String">
<column name="PATHS" length="32">
<comment>配送路线</comment>
</column>
</property>
<property name="operaters" type="java.lang.String">
<column name="OPERATERS" length="32">
<comment>操作人</comment>
</column>
</property>
<property name="operatimes" type="java.util.Date">
<column name="OPERATIMES" length="32">
<comment>操作时间</comment>
</column>
</property>
<property name="imeis" type="java.lang.String">
<column name="IMEIS" length="32">
<comment>IMEI号码</comment>
</column>
</property>
<property name="comments" type="java.lang.String">
<column name="COMMENTS" length="64">
<comment>备注</comment>
</column>
</property>
<property name="oilwears" type="java.lang.String">
<column name="OILWEARS" length="32">
<comment>油耗方案</comment>
</column>
</property>
<property name="tels" type="java.lang.String">
<column name="TELS" length="32">
<comment>车主电话</comment>
</column>
</property>
<property name="mails" type="java.lang.String">
<column name="MAILS" length="32">
<comment>邮件地址</comment>
</column>
</property>
<property name="oilsizes" type="java.lang.String">
<column name="OILSIZES" length="32">
<comment>邮箱体积</comment>
</column>
</property>
<property name="owner" type="java.lang.String">
<column name="OWNER" length="32">
<comment>车主</comment>
</column>
</property>
<property name="telnub2" type="java.lang.String">
<column name="TELNUB2" length="32">
<comment>车载电话2</comment>
</column>
</property>
<many-to-one name="department" class="com.derun.hibernate.entity.Department" fetch="select" lazy="false">
<column name="DEPARTMENTID" precision="22" scale="0" />
</many-to-one>
<set name="tachovelocityss" inverse="true">
<key>
<column name="CARID" precision="22" scale="0" />
</key>
<one-to-many class="com.derun.hibernate.entity.Tachovelocitys" />
</set>
</class>
</hibernate-mapping>